mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
fix removing the filter panels upon disconnect
This commit is contained in:
parent
028a35bfc8
commit
c0fd70a856
1 changed files with 3 additions and 3 deletions
|
@ -110,9 +110,9 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, {
|
||||||
|
|
||||||
// private
|
// private
|
||||||
onDisconnect: function() {
|
onDisconnect: function() {
|
||||||
Ext.each(Ext.getKeys(this.panels), function(filter) {
|
for (var filter in this.panels) {
|
||||||
this.remove(filter + '-panel');
|
this.remove(this.panels[filter]);
|
||||||
}, this);
|
}
|
||||||
this.panels = {};
|
this.panels = {};
|
||||||
this.selected = null;
|
this.selected = null;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue