summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-03-27 19:07:13 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-03-27 19:07:13 +0000
commit701d49231c7812e7efc2238f9bcec66afeda47a1 (patch)
tree6b11bbc71d401e684642d8a42557ec577f6c4856 /roundcubemail/program/js
parent1d0440c1ca1b2701198b7ac46a4954ffb89ac92a (diff)
Improved search function
git-svn-id: https://svn.roundcube.net/trunk@175 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 81eaef39e..d2bf41e58 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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);
}