summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fca75d57f..e81abceb4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -708,7 +708,7 @@ function rcube_webmail()
case 'list':
// re-send for the selected folder
- if (props && props != '' && this.env.search_request) {
+ if (props && props != '' && this.env.search_request && this.gui_objects.qsearchbox.value) {
var oldmbox = this.env.search_scope == 'all' ? '*' : this.env.mailbox;
this.env.search_mods[props] = this.env.search_mods[oldmbox]; // copy search mods from active search
this.env.mailbox = props;