mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 19:32:21 +00:00
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…
x
Reference in New Issue
Block a user