From: Sven Schöling Date: Mon, 6 Feb 2017 12:06:35 +0000 (+0100) Subject: kivi.Part.js: Formatierung X-Git-Tag: release-3.5.4~1465 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4d325a8db23ca58c0cec42d608da03469f6f94fe;p=kivitendo-erp.git kivi.Part.js: Formatierung --- diff --git a/js/kivi.Part.js b/js/kivi.Part.js index d4581ca7c..2882f6ac5 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -292,9 +292,9 @@ namespace('kivi.Part', function(ns) { delay: 50, fat_set_item: $real.hasClass(CLASSES.FAT_SET_ITEM), action: { - on_enter_match_none: function(){}, - on_enter_match_one: function(){$('#update_button').click();}, - on_enter_match_many: function(){open_dialog();} + on_enter_match_none: function(){ }, + on_enter_match_one: function(){ $('#update_button').click(); }, + on_enter_match_many: function(){ open_dialog(); } } }, options); var STATES = { @@ -360,8 +360,8 @@ namespace('kivi.Part', function(ns) { $real.val(''); $dummy.val(''); } - state = STATES.PICKED; - last_real = $real.val(); + state = STATES.PICKED; + last_real = $real.val(); last_dummy = $dummy.val(); $real.trigger('change'); @@ -444,7 +444,7 @@ namespace('kivi.Part', function(ns) { if (callbacks && callbacks.match_many) callbacks.match_many(data); } else { state = STATES.UNDEFINED; - if (callbacks &&callbacks.match_none) callbacks.match_none(); + if (callbacks && callbacks.match_none) callbacks.match_none(); } annotate_state(); }