From 91df1995cd986d5ebf227e4b5489d2b29bd92601 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 15 Apr 2009 08:57:37 +0000 Subject: - Fix messagelist focus issue when modifying status of selected messages (#1485807) --- program/js/app.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 91237662e..0aa236a6c 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1160,11 +1160,13 @@ function rcube_webmail() var model, li; if (this.message_list) { - this.message_list.blur(); + if (!rcube_mouse_is_over(e, this.message_list.list)) + this.message_list.blur(); model = this.env.mailboxes; } else if (this.contact_list) { - this.contact_list.blur(); + if (!rcube_mouse_is_over(e, this.contact_list.list)) + this.contact_list.blur(); model = this.env.address_sources; } else if (this.ksearch_value) { @@ -1181,8 +1183,8 @@ function rcube_webmail() this.drag_start = function(list) { - this.initialBodyScrollTop = bw.ie ? 0 : window.pageYOffset; - this.initialMailBoxScrollTop = document.getElementById("mailboxlist-container").scrollTop; + this.initialBodyScrollTop = bw.ie ? 0 : window.pageYOffset; + this.initialMailBoxScrollTop = document.getElementById("mailboxlist-container").scrollTop; var model = this.task == 'mail' ? this.env.mailboxes : this.env.address_sources; -- cgit v1.2.3