summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-17 16:57:10 +0000
committerthomascube <thomas@roundcube.net>2010-03-17 16:57:10 +0000
commit258dbd03d79726e852ab7a23914ba4c32403e519 (patch)
treeeb0b79976361757e2066a5740d5004105349b805 /program/js
parent2ecb7fef5e0e4c716dd771ddef74c5d3d9f7de6c (diff)
Don't unselect already selected childs
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 2c539987c..c5267eeb3 100644
--- a/program/js/list.js
+++ b/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;