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 81eaef39e..d2bf41e58 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -575,7 +575,7 @@ function rcube_webmail()
case 'list':
if (this.task=='mail')
{
- if (this.env.search_request && props != this.env.mailbox)
+ if (this.env.search_request<0 || (this.env.search_request && props != this.env.mailbox))
this.reset_qsearch();
this.list_mailbox(props);
}