diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-09-26 16:42:16 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-09-26 16:42:16 +0000 |
| commit | 1a773193f39baf1e60dfc1954f30f7b1063aa028 (patch) | |
| tree | 95c3164782f0210b6ce55d53589bab3c889a0ea9 /roundcubemail/program/js/list.js | |
| parent | 61ad98aa9dcdaa01665ef8a88a2ef4e214493dd2 (diff) | |
Select next message after removing one from list
git-svn-id: https://svn.roundcube.net/trunk@828 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/list.js')
| -rw-r--r-- | roundcubemail/program/js/list.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 6a083a2e7..ccc0dda72 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -132,11 +132,14 @@ clear: function(sel) /** * 'remove' message row from list (just hide it) */ -remove_row: function(uid) +remove_row: function(uid, sel_next) { if (this.rows[uid].obj) this.rows[uid].obj.style.display = 'none'; + if (sel_next) + this.select_next(); + this.rows[uid] = null; }, |
