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/app.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 5b9265b..9bb8568 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1143,6 +1143,8 @@ this.command('show'); else if (list.key_pressed == list.DELETE_KEY) this.command('delete'); + else + list.shiftkey = false; }; @@ -3483,7 +3485,7 @@ } this.set_busy(true, 'checkingmail'); - this.http_request('check-recent', '_t='+(new Date().getTime()), true); + this.http_request('check-recent', (this.env.search_request ? '_search='+this.env.search_request+'&' : '') + '_t='+(new Date().getTime()), true); }; -- Gitblit v1.9.1