From 258dbd03d79726e852ab7a23914ba4c32403e519 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 17 Mar 2010 12:57:10 -0400 Subject: [PATCH] Don't unselect already selected childs --- 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 2c53998..c5267ee 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -1021,7 +1021,8 @@ 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; -- Gitblit v1.9.1