From 6f4c863e5d21ff3941f113d62bf5ada6f8e33e7b Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 17 Mar 2010 16:57:10 +0000 Subject: Don't unselect already selected childs git-svn-id: https://svn.roundcube.net/trunk@3373 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index 2c539987c..c5267eeb3 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -1021,7 +1021,8 @@ drag_mouse_move: function(e) if ((r = this.rows[row.uid])) { if (!r.depth || r.depth <= depth) break; - this.select_row(r.uid, CONTROL_KEY); + if (!this.in_selection(r.uid)) + this.select_row(r.uid, CONTROL_KEY); } } row = row.nextSibling; -- cgit v1.2.3