Module: deluge
Branch: master
Commit: 59b7a175eb27ec91a6def4151e3a8dba3fe356e1

Author: Damien Churchill <[email protected]>
Date:   Wed Apr 28 15:23:22 2010 +0100

store the states without the zero values removed as this.states

---

 deluge/ui/web/js/deluge-all/FilterPanel.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/FilterPanel.js 
b/deluge/ui/web/js/deluge-all/FilterPanel.js
index 8029440..cd8545d 100644
--- a/deluge/ui/web/js/deluge-all/FilterPanel.js
+++ b/deluge/ui/web/js/deluge-all/FilterPanel.js
@@ -114,6 +114,7 @@ Deluge.FilterPanel = Ext.extend(Ext.Panel, {
         * Update the states in the FilterPanel
         */
        updateStates: function(states) {
+               this.states = states;
                var show_zero = (this.show_zero == null) ? 
deluge.config.sidebar_show_zero : this.show_zero;
                if (!show_zero) {
                        var newStates = [];

-- 
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.

Reply via email to