From f4f8c6cc6556d568fc719a6d919feb09b5e68477 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 26 Sep 2007 12:47:42 -0400
Subject: [PATCH] Also select next contact after removing one

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

diff --git a/CHANGELOG b/CHANGELOG
index b3dee37..5a9a938 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@
 2007/09/26 (thomasb)
 ----------
 - Improve message compose screen (closes #1484383)
+- Select next row after removing one from list (#1484387)
 
 
 2007/09/26 (tomekp)
diff --git a/program/js/app.js b/program/js/app.js
index f3b47df..28b788d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2365,7 +2365,7 @@
         {
         id = selection[n];
         a_cids[a_cids.length] = id;
-        this.contact_list.remove_row(id);
+        this.contact_list.remove_row(id, (n == selection.length-1));
         }
 
       // hide content frame if we delete the currently displayed contact

--
Gitblit v1.9.1