Module: deluge Branch: master Commit: 2edf19c187238b31963cc2c7acc3e25f715dd502
Author: Damien Churchill <[email protected]> Date: Sun Apr 25 19:27:18 2010 +0100 fix displaying empty '' filters --- deluge/ui/web/js/deluge-all/Sidebar.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Sidebar.js b/deluge/ui/web/js/deluge-all/Sidebar.js index 9c2478c..ac86fa0 100644 --- a/deluge/ui/web/js/deluge-all/Sidebar.js +++ b/deluge/ui/web/js/deluge-all/Sidebar.js @@ -91,7 +91,7 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, { // Grab the filters from each of the filter panels this.items.each(function(panel) { var filter = panel.getFilter(); - if (!filter) return; + if (!filter == null) return; filters[panel.filterType] = filter; }, this); -- 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.
