From bef5cafc8c5cc8303d5f537135b754cc34f855ad Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 16 Feb 2007 14:44:11 -0500
Subject: [PATCH] Wrong way around...

---
 program/js/app.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index a961af3..0a1afe8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1226,6 +1226,8 @@
       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 @@
     // 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;
       }

--
Gitblit v1.9.1