diff --git a/deluge/ui/web/js/deluge-all/FilterPanel.js b/deluge/ui/web/js/deluge-all/FilterPanel.js index cd8545ddd..de20cb7f1 100644 --- a/deluge/ui/web/js/deluge-all/FilterPanel.js +++ b/deluge/ui/web/js/deluge-all/FilterPanel.js @@ -95,11 +95,7 @@ Deluge.FilterPanel = Ext.extend(Ext.Panel, { * Return the current states in the filter */ getStates: function() { - var states = []; - this.list.getStore().each(function(r) { - states.push(r.get('filter')); - }); - return states; + return this.states; }, /**