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
|
* Return the current states in the filter
|
||||||
*/
|
*/
|
||||||
getStates: function() {
|
getStates: function() {
|
||||||
var states = [];
|
return this.states;
|
||||||
this.list.getStore().each(function(r) {
|
|
||||||
states.push(r.get('filter'));
|
|
||||||
});
|
|
||||||
return states;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue