From f5f8cee8df6a788030b623a1c8c20f2d26af80c1 Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 3 Oct 2012 13:16:42 +0100 Subject: [PATCH] Removing Panels properly --- client_backbone/dev/model_panel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client_backbone/dev/model_panel.js b/client_backbone/dev/model_panel.js index e0fd88f..d0b598c 100755 --- a/client_backbone/dev/model_panel.js +++ b/client_backbone/dev/model_panel.js @@ -66,6 +66,8 @@ kiwi.model.Panel = Backbone.Model.extend({ this.unset('members'); } + kiwi.app.panels.remove(this); + this.unbind(); this.destroy(); -- 2.25.1