summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-02 17:57:25 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-02 17:57:25 +0000
commitd5c822b63945d9c2d9b7a5fd35270509935d8ce0 (patch)
treea3904c282d8ac27e630f8c3305548e3c39693470
parentd0936400562ed266b5d8ac7e1df680b48fb100d1 (diff)
- don't reload messages list if user clicks on (already) selected folder
git-svn-id: https://svn.roundcube.net/trunk@1920 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index b7a3ed51c..ce2b4f966 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -533,7 +533,8 @@ function rcube_webmail()
if (this.env.search_request<0 || (props != '' && (this.env.search_request && props != this.env.mailbox)))
this.reset_qsearch();
- this.list_mailbox(props);
+ if (props != this.env.mailbox)
+ this.list_mailbox(props);
if (this.env.trash_mailbox)
this.set_alttext('delete', this.env.mailbox != this.env.trash_mailbox ? 'movemessagetotrash' : 'deletemessage');