diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-02-16 19:39:49 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-02-16 19:39:49 +0000 |
| commit | ba763086c321329c2dbdf141503e955e2766c19d (patch) | |
| tree | 9fd6c14531d82c46c45a5d4479ddbd75d4862a96 | |
| parent | 521051c553407d1417f648f8ad69448de9183f29 (diff) | |
Don't attempt to clear message list if it doesn't exist
git-svn-id: https://svn.roundcube.net/trunk@484 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 1f89bd71e..a961af349 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1226,7 +1226,6 @@ function rcube_webmail() page = 1; add_url += '&_refresh=1'; this.env.current_page = page; - this.message_list.clear_selection(); this.show_messageframe(false); } @@ -1239,6 +1238,8 @@ function rcube_webmail() // load message list remotely if (this.gui_objects.messagelist) { + if (mbox != this.env.mailbox) + this.message_list.clear_selection(); this.list_mailbox_remote(mbox, page, add_url); return; } |
