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

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

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