fix displaying empty '' filters

This commit is contained in:
Damien Churchill 2010-04-25 19:27:18 +01:00
parent 42b3dc7dde
commit 2edf19c187

View File

@ -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);