diff options
author | thomascube <thomas@roundcube.net> | 2010-03-17 16:57:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2010-03-17 16:57:10 +0000 |
commit | 258dbd03d79726e852ab7a23914ba4c32403e519 (patch) | |
tree | eb0b79976361757e2066a5740d5004105349b805 | |
parent | 2ecb7fef5e0e4c716dd771ddef74c5d3d9f7de6c (diff) |
Don't unselect already selected childs
-rw-r--r-- | program/js/list.js | 3 |
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; |