From 1cf35c11f0e9111345e09f9fd1ea462a9f0cfa56 Mon Sep 17 00:00:00 2001 From: jdeveloper Date: Tue, 19 Nov 2013 13:14:53 +0100 Subject: [PATCH] Changed the signature of _kiwi.global.componets.ControlInput method in app.js back to the original signature and changes the funcs map to make it work well --- client/src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app.js b/client/src/app.js index b750663..885684b 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -88,10 +88,10 @@ _kiwi.global = { ControlInput: function() { var obj = new this.EventComponent(_kiwi.app.controlbox); var funcs = { - processInput: 'run', addPluginIcon: 'addPluginIcon' + run: 'processInput', addPluginIcon: 'addPluginIcon' }; - _.each(funcs, function(func_name, controlbox_fn) { + _.each(funcs, function(controlbox_fn, func_name) { obj[func_name] = function() { var fn_name = controlbox_fn; return _kiwi.app.controlbox[fn_name].apply(_kiwi.app.controlbox, arguments); -- 2.25.1