summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 12:35:28 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 12:35:28 +0000
commit06895c3e947e1b15da3bb2f6f425962949edb9d9 (patch)
tree96349ba7b7b05dcc913e5f07cc95b8412bd554c3 /program/js
parentae895a9d3cbffbcf09d23eab1280173ff748c53e (diff)
Better refresh of message list; improved HTML mail display
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 3ee54f684..65bbee9a3 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1244,13 +1244,15 @@ function rcube_webmail()
if (!page && mbox != this.env.mailbox)
{
page = 1;
- add_url += '&_refresh=1';
this.env.current_page = page;
if (this.message_list)
this.message_list.clear_selection();
this.show_contentframe(false);
}
+ if (mbox != this.env.mailbox || (mbox == this.env.mailbox && !page && !sort))
+ add_url += '&_refresh=1';
+
this.select_folder(mbox, this.env.mailbox);
this.env.mailbox = mbox;