From b6265631f065f355a5ec3886eb185830a22c6a8c Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 26 Sep 2007 12:42:16 -0400
Subject: [PATCH] Select next message after removing one from list

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

diff --git a/program/js/app.js b/program/js/app.js
index 40d2f07..f3b47df 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1440,10 +1440,8 @@
         {
         id = selection[n];
         a_uids[a_uids.length] = id;
-        this.message_list.remove_row(id);
+        this.message_list.remove_row(id, (n == selection.length-1));
         }
-
-      this.message_list.select_next();
       }
       
     // also send search request to get the right messages 

--
Gitblit v1.9.1