summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-03-27 19:07:13 +0000
committerthomascube <thomas@roundcube.net>2006-03-27 19:07:13 +0000
commitac6b87c4a27c3ca7491af7f159778f333050519e (patch)
tree1c88e2be11f834a1771e239a8b946bbdedf1b103 /program/js/app.js
parent0d361b9e4a878e63055aeab12a0dc9e21386501b (diff)
Improved search function
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);
}