From 865e3f5f3c4aa8b78451deb7fc27b16e3e47a438 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 5 May 2011 07:26:50 +0000 Subject: - 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 --- roundcubemail/program/js/list.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roundcubemail/program/js/list.js') 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); -- cgit v1.2.3