From 11074801923807a9448f7427299ddba76e235e42 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 25 Nov 2007 15:40:10 -0500 Subject: [PATCH] Only show new messages if they match the current search (#1484176) --- program/js/list.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/js/list.js b/program/js/list.js index de4d7c8..06c3554 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -535,8 +535,6 @@ 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 @@ break; default: + this.shiftkey = e.shiftKey; this.key_pressed = keyCode; this.trigger_event('keypress'); } -- Gitblit v1.9.1