From 4939b8c72e0f516703743ccac2c26679778b5523 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Fri, 24 Apr 2009 18:32:03 +0000 Subject: [PATCH] use keys() rather than getKeys() --- deluge/ui/web/js/Deluge.Sidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/js/Deluge.Sidebar.js b/deluge/ui/web/js/Deluge.Sidebar.js index 135a3b333..48ff30356 100644 --- a/deluge/ui/web/js/Deluge.Sidebar.js +++ b/deluge/ui/web/js/Deluge.Sidebar.js @@ -183,8 +183,8 @@ Copyright: } // Perform a cleanup of fitlers that aren't enabled any more - Ext.each(Ext.getKeys(this.panels), function(filter) { - if (Ext.getKeys(filters).indexOf(filter) == -1) { + Ext.each(Ext.keys(this.panels), function(filter) { + if (Ext.keys(filters).indexOf(filter) == -1) { // We need to remove the panel } });