From: Cory Chaplin Date: Thu, 17 Jul 2014 08:55:21 +0000 (+0200) Subject: Send the right object when removing panel X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=34027fe09e91f729f5fa840753b9a7edbd5cf867;p=KiwiIRC.git Send the right object when removing panel --- diff --git a/client/src/views/tabs.js b/client/src/views/tabs.js index 20881a2..1830701 100644 --- a/client/src/views/tabs.js +++ b/client/src/views/tabs.js @@ -89,7 +89,7 @@ _kiwi.view.Tabs = Backbone.View.extend({ panel.tab.remove(); delete panel.tab; - _kiwi.app.panels.trigger('remove', this); + _kiwi.app.panels.trigger('remove', panel); _kiwi.app.view.doLayout(); },