diff options
author | alecpl <alec@alec.pl> | 2009-04-15 08:57:37 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-04-15 08:57:37 +0000 |
commit | 91df1995cd986d5ebf227e4b5489d2b29bd92601 (patch) | |
tree | 2e745e5a89da83377af27d08cfaa4800031335ae /program/js | |
parent | 80e227859406450a5df73abeb8b3ed24a87fcccc (diff) |
- Fix messagelist focus issue when modifying status of selected messages (#1485807)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 10 |
1 files changed, 6 insertions, 4 deletions
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; |