From: Moritz Bunkus Date: Wed, 11 Jan 2017 08:13:38 +0000 (+0100) Subject: ActionBar: JS: fehlende ; am Zeilenende ergänzt X-Git-Tag: release-3.5.4~1339 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=87e1fb0da7d259a38182b8f363b91c0d8b4fd149;p=kivitendo-erp.git ActionBar: JS: fehlende ; am Zeilenende ergänzt --- diff --git a/js/kivi.ActionBar.js b/js/kivi.ActionBar.js index 1d90bd610..2836add63 100644 --- a/js/kivi.ActionBar.js +++ b/js/kivi.ActionBar.js @@ -55,7 +55,7 @@ namespace('kivi', function(k){ case 'enter': return 13; default: if (val.length == 1) { - return val.charChodeAt(0) + return val.charChodeAt(0); } else if (val % 1 === 0) { return val; } else { @@ -147,16 +147,16 @@ namespace('kivi', function(k){ if (data.confirm && !confirm(data.confirm)) return; if (data.call) { func = kivi.get_function_by_name(data.call[0]); - func.apply(document, data.call.slice(1)) + func.apply(document, data.call.slice(1)); } if (data.submit) { var form = data.submit[0]; var params = data.submit[1]; for (key in params) { - $hidden = $('') - $hidden.attr('name', key) - $hidden.attr('value', params[key]) - $(form).append($hidden) + $hidden = $(''); + $hidden.attr('name', key); + $hidden.attr('value', params[key]); + $(form).append($hidden); } $(form).submit(); }