From 253d08d2f9fd1b4d10a36c96d501bbbc37693d61 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 27 Apr 2009 11:30:30 +0000 Subject: [PATCH] fix emptying the panels hash --- deluge/ui/web/js/Deluge.Sidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/js/Deluge.Sidebar.js b/deluge/ui/web/js/Deluge.Sidebar.js index 48ff30356..639313b25 100644 --- a/deluge/ui/web/js/Deluge.Sidebar.js +++ b/deluge/ui/web/js/Deluge.Sidebar.js @@ -155,7 +155,7 @@ Copyright: Ext.each(Ext.getKeys(this.panels), function(filter) { this.remove(filter + '-panel'); }, this); - this.panels.empty(); + this.panels = {}; this.selected = null; },