From: Darren Date: Tue, 12 Aug 2014 15:13:00 +0000 (+0100) Subject: Correctly proxy events for plugin components other than Network() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cea556be0c7f86e6251c1441e537a7f50facc85d;p=KiwiIRC.git Correctly proxy events for plugin components other than Network() --- diff --git a/client/src/app.js b/client/src/app.js index afc76a0..92532e1 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -63,8 +63,6 @@ _kiwi.global = { */ function proxyEvent(event_name, event_data) { if (proxy_event_name == 'all') { - event_name = event_data.event_name; - event_data = event_data.event_data; } else { event_data = event_name.event_data; event_name = event_name.event_name; @@ -76,7 +74,6 @@ _kiwi.global = { // The event we are to proxy proxy_event_name = proxy_event_name || 'all'; - _.extend(this, Backbone.Events); this._source = event_source;