summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-17 16:57:10 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-03-17 16:57:10 +0000
commit6f4c863e5d21ff3941f113d62bf5ada6f8e33e7b (patch)
tree008db53aa252ffafd99c4be1ec0d633dc588ef75 /roundcubemail/program
parentc54d3ef41ae56561e313c4c445478326bcfe697a (diff)
Don't unselect already selected childs
git-svn-id: https://svn.roundcube.net/trunk@3373 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/list.js3
1 files changed, 2 insertions, 1 deletions
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;