summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-28 17:36:26 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-28 17:36:26 +0000
commita236bbc295c2a9861dc030580f87e05371493785 (patch)
treee2949875c54b8d267f7e73efc5a7bc3f5e1cf61f /roundcubemail/program/js/app.js
parent233b928752910b224ae603a78a4985eab935c3e1 (diff)
- Fix RC forgets search results (#1483883)
git-svn-id: https://svn.roundcube.net/trunk@3787 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index d0b3bd0ca..4c0e1841f 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -487,7 +487,7 @@ function rcube_webmail()
// misc list commands
case 'list':
if (this.task=='mail') {
- if (this.env.search_request<0 || (props != '' && (this.env.search_request && props != this.env.mailbox)))
+ if (!this.env.search_request || (props && props != this.env.mailbox))
this.reset_qsearch();
this.list_mailbox(props);
@@ -496,7 +496,7 @@ function rcube_webmail()
this.set_alttext('delete', this.env.mailbox != this.env.trash_mailbox ? 'movemessagetotrash' : 'deletemessage');
}
else if (this.task=='addressbook') {
- if (this.env.search_request<0 || (this.env.search_request && props != this.env.source))
+ if (!this.env.search_request || (props != this.env.source))
this.reset_qsearch();
this.list_contacts(props);