Module: deluge Branch: master Commit: fb0adbcded274919a079c7738556594be6ce817e
Author: Damien Churchill <[email protected]> Date: Wed Apr 28 15:25:31 2010 +0100 return this.states instead of the store contents --- deluge/ui/web/js/deluge-all/FilterPanel.js | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/FilterPanel.js b/deluge/ui/web/js/deluge-all/FilterPanel.js index cd8545d..de20cb7 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; }, /** -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
