From: Darren Date: Wed, 3 Oct 2012 12:16:42 +0000 (+0100) Subject: Removing Panels properly X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f5f8cee8df6a788030b623a1c8c20f2d26af80c1;p=KiwiIRC.git Removing Panels properly --- 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();