summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-02-16 19:44:11 +0000
committerthomascube <thomas@roundcube.net>2007-02-16 19:44:11 +0000
commitbef5cafc8c5cc8303d5f537135b754cc34f855ad (patch)
tree8e37c02cbd1e22adaae96f7bff1b46ed968fc5c0
parentc768b3a8bff0358ca8a3a2b4908e1321f04d9f01 (diff)
Wrong way around...
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index a961af349..0a1afe8af 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1226,6 +1226,8 @@ function rcube_webmail()
page = 1;
add_url += '&_refresh=1';
this.env.current_page = page;
+ if (this.message_list)
+ this.message_list.clear_selection();
this.show_messageframe(false);
}
@@ -1238,8 +1240,6 @@ 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;
}