From e769a7b588dde028a41cde482995601b63ad87b2 Mon Sep 17 00:00:00 2001 From: cmcnulty Date: Wed, 30 Oct 2013 20:45:26 -0500 Subject: need to reset shift_start on control select reproduce steps: shift-select some messages, hold down control and select another message. hold down shift+control and select more messages - desired behavior, two separate ranges of selected messages. (consistent with outlook/thunderbird/windows explorer) --- program/js/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/js/list.js') diff --git a/program/js/list.js b/program/js/list.js index b2d4f8a63..24ee38c4d 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -790,8 +790,10 @@ select_row: function(id, mod_key, with_mouse) break; case CONTROL_KEY: - if (with_mouse) + if (with_mouse) { + this.shift_start = id; this.highlight_row(id, true); + } break; case CONTROL_SHIFT_KEY: -- cgit v1.2.3 From 5c7bbfcd598c89aee17096eda1188a1b4803bcf4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 5 Nov 2013 19:07:49 +0100 Subject: Fix regression where child messages on collapsed thread weren't selected on move/delete action (#1489415) --- program/js/list.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'program/js/list.js') diff --git a/program/js/list.js b/program/js/list.js index 4af01e53a..4ae6c0c66 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -895,7 +895,7 @@ select_children: function(uid) for (i=0; i