return this.states instead of the store contents

This commit is contained in:
Damien Churchill 2010-04-28 15:25:31 +01:00
parent 59b7a175eb
commit fb0adbcded
1 changed files with 1 additions and 5 deletions

View File

@ -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;
},
/**