Module: deluge Branch: master Commit: 79d68a5b9beb66c63782812f835864b9ad26d3be
Author: Damien Churchill <[email protected]> Date: Sat May 8 16:05:44 2010 +0100 fix the null comparison --- 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 f669002..b8e8cbd 100644 --- a/deluge/ui/web/js/deluge-all/Sidebar.js +++ b/deluge/ui/web/js/deluge-all/Sidebar.js @@ -107,7 +107,7 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, { // Grab the filters from each of the filter panels this.items.each(function(panel) { var state = panel.getState(); - if (!state == null) return; + if (state == null) return; states[panel.filterType] = state; }, this); } else { -- 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.
