summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcmcnulty <cmcnulty@kznf.com>2013-10-30 20:45:26 -0500
committercmcnulty <cmcnulty@kznf.com>2013-10-30 20:45:26 -0500
commite769a7b588dde028a41cde482995601b63ad87b2 (patch)
tree75145ba67ac9a4f1c1b3c0b4cbbb012d6ca89ebb
parent6a91448aee5d036b35c621bbdaff250dc84e15f3 (diff)
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)
-rw-r--r--program/js/list.js4
1 files changed, 3 insertions, 1 deletions
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: