Send the right object when removing panel
authorCory Chaplin <cory.chaplin@laposte.net>
Thu, 17 Jul 2014 08:55:21 +0000 (10:55 +0200)
committerCory Chaplin <cory.chaplin@laposte.net>
Thu, 17 Jul 2014 08:55:21 +0000 (10:55 +0200)
client/src/views/tabs.js

index 20881a250eed2ffc5457390ebfa32236187c3899..1830701f3db64a5e5b74e2733eaa8a32f60d2b4e 100644 (file)
@@ -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();
     },