summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-26 16:47:42 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-26 16:47:42 +0000
commit77cb4586073acddfa3b5b28aabad214b17c851f7 (patch)
tree221f5adc631f44cc6057e04c5b9ec672d106d6f8
parent1a773193f39baf1e60dfc1954f30f7b1063aa028 (diff)
Also select next contact after removing one
git-svn-id: https://svn.roundcube.net/trunk@829 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG1
-rw-r--r--roundcubemail/program/js/app.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index b3dee3700..5a9a938e3 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/CHANGELOG
@@ -4,6 +4,7 @@ CHANGELOG RoundCube Webmail
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/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index f3b47df65..28b788d86 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -2365,7 +2365,7 @@ function rcube_webmail()
{
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