summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js2
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);