From 87e1fb0da7d259a38182b8f363b91c0d8b4fd149 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 11 Jan 2017 09:13:38 +0100 Subject: [PATCH] =?utf8?q?ActionBar:=20JS:=20fehlende=20;=20am=20Zeilenend?= =?utf8?q?e=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.ActionBar.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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(); } -- 2.20.1