return this.states instead of the store contents
This commit is contained in:
parent
59b7a175eb
commit
fb0adbcded
|
@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue