From 4d325a8db23ca58c0cec42d608da03469f6f94fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 6 Feb 2017 13:06:35 +0100 Subject: [PATCH] kivi.Part.js: Formatierung --- js/kivi.Part.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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(); } -- 2.20.1