Correctly proxy events for plugin components other than Network()
authorDarren <darren@darrenwhitlen.com>
Tue, 12 Aug 2014 15:13:00 +0000 (16:13 +0100)
committerDarren <darren@darrenwhitlen.com>
Tue, 12 Aug 2014 15:13:00 +0000 (16:13 +0100)
client/src/app.js

index afc76a02addfff57d0ec5f94487b88d88d9dfbfd..92532e1b5df8aa935fef066db28fc1f0517ecf06 100644 (file)
@@ -63,8 +63,6 @@ _kiwi.global = {
              */\r
             function proxyEvent(event_name, event_data) {\r
                 if (proxy_event_name == 'all') {\r
-                    event_name = event_data.event_name;\r
-                    event_data = event_data.event_data;\r
                 } else {\r
                     event_data = event_name.event_data;\r
                     event_name = event_name.event_name;\r
@@ -76,7 +74,6 @@ _kiwi.global = {
             // The event we are to proxy\r
             proxy_event_name = proxy_event_name || 'all';\r
 \r
-\r
             _.extend(this, Backbone.Events);\r
             this._source = event_source;\r
 \r