Author: damoxc
Revision: 5578
Log:
Fix a bug in the sidebar states when show zero is checked
Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Sidebar.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Sidebar.js 2009-07-30 21:27:36 UTC (rev
5577)
+++ trunk/deluge/ui/web/js/Deluge.Sidebar.js 2009-07-30 21:37:01 UTC (rev
5578)
@@ -195,7 +195,7 @@
removeZero: function(states) {
var newStates = [];
Ext.each(states, function(state) {
- if (state[1] > 0) {
+ if (state[1] > 0 || state[0] == _('All')) {
newStates.push(state);
}
});
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---