Fix filtering
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Oct 2009 08:12:44 +0000 (02:12 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Oct 2009 08:12:44 +0000 (02:12 -0600)
imp/js/DimpBase.js

index d80566a..3359509 100644 (file)
@@ -416,7 +416,7 @@ var DimpBase = {
             // Callbacks
             onAjaxRequest: function(id) {
                 var p = $H();
-                if (this.isSearch(id, true) && $('qsearch_input').visible()) {
+                if (this.folderswitch && this.isSearch(id, true)) {
                     p.set('qsearchmbox', this.search.mbox);
                     if (this.search.flag) {
                         p.update({ qsearchflag: this.search.flag, qsearchflagnot: Number(this.search.not) });