From 34027fe09e91f729f5fa840753b9a7edbd5cf867 Mon Sep 17 00:00:00 2001 From: Cory Chaplin Date: Thu, 17 Jul 2014 10:55:21 +0200 Subject: [PATCH] Send the right object when removing panel --- client/src/views/tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }, -- 2.25.1