diff options
author | alecpl <alec@alec.pl> | 2011-05-05 07:26:50 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-05-05 07:26:50 +0000 |
commit | 4764079c6af092a6dfa18306601e1b33482fb756 (patch) | |
tree | 454fd0628d02bb4f7e06db71da3641782a4b0f69 /program/js/list.js | |
parent | 7c141cc65a251c27ecc7e3cd70edcda3e1bcb589 (diff) |
- Fix bug where messages were deleted instead moved to trash folder after Shift key was used (#1487902), small code improvements
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index 3f25d4d43..eb73bbb68 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -988,6 +988,8 @@ key_press: function(e) this.shiftkey = e.shiftKey; this.key_pressed = keyCode; this.triggerEvent('keypress'); + // reset shiftkey flag, we need it only for registered events + this.shiftkey = false; if (this.key_pressed == this.BACKSPACE_KEY) return rcube_event.cancel(e); |