diff options
author | alecpl <alec@alec.pl> | 2008-10-02 17:57:25 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-02 17:57:25 +0000 |
commit | 7b77f2e83a134ca7bfd6d38f06b9e6d01968e98e (patch) | |
tree | 39ecf9fd7bdb84dfe027ea9edc41d6e0d065aedb | |
parent | 0e109cfd1b6807166f277234c1b1bd1c070ce612 (diff) |
- don't reload messages list if user clicks on (already) selected folder
-rw-r--r-- | program/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index b7a3ed51c..ce2b4f966 100644 --- a/program/js/app.js +++ b/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'); |