From 94cf2f11feeb8448995f83967f032768dd7c05df Mon Sep 17 00:00:00 2001 From: thomasb Date: Sun, 25 Nov 2007 20:40:10 +0000 Subject: Only show new messages if they match the current search (#1484176) git-svn-id: https://svn.roundcube.net/trunk@932 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'roundcubemail/program/js/list.js') diff --git a/roundcubemail/program/js/list.js b/roundcubemail/program/js/list.js index de4d7c84a..06c355432 100644 --- a/roundcubemail/program/js/list.js +++ b/roundcubemail/program/js/list.js @@ -535,8 +535,6 @@ key_press: function(e) if (this.focused != true) return true; - this.shiftkey = e.shiftKey; - var keyCode = document.layers ? e.which : document.all ? event.keyCode : document.getElementById ? e.keyCode : 0; var mod_key = rcube_event.get_modifier(e); switch (keyCode) @@ -547,6 +545,7 @@ key_press: function(e) break; default: + this.shiftkey = e.shiftKey; this.key_pressed = keyCode; this.trigger_event('keypress'); } -- cgit v1.2.3