summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/list.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-05 07:26:50 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-05 07:26:50 +0000
commit865e3f5f3c4aa8b78451deb7fc27b16e3e47a438 (patch)
tree5592df6c80e12a4f88fbc9c57ba7805523c8f8c6 /roundcubemail/program/js/list.js
parenteee996a174dcb68960f324bedc05ea26fb5a8216 (diff)
- Fix bug where messages were deleted instead moved to trash folder after Shift key was used (#1487902), small code improvements
git-svn-id: https://svn.roundcube.net/trunk@4732 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/list.js')
-rw-r--r--roundcubemail/program/js/list.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js
index 3f25d4d43..eb73bbb68 100644
--- a/roundcubemail/program/js/list.js
+++ b/roundcubemail/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);