summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-03 12:14:50 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-03 12:16:23 +0200
commit2f5495763bb27f7610f44b49256edec21b916649 (patch)
treeb81cdfee7a84baaf7de98fc17320dde0cf851159
parent56aeedd9cd844046d9b65582ef69c38941c487fc (diff)
Fix messages list focus issue in Opera and Webkit (#1489058)A
Conflicts: CHANGELOG
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/list.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f1f34ec67..74a0888e2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix messages list focus issue in Opera and Webkit (#1489058)
- Fix Reply-To header handling in Reply-All action (#1489037)
- Fix so Sender: address is added to Cc: field on reply to all (#1489011)
- Fix so addressbook_search_mode works also for group search (#1489079)
diff --git a/program/js/list.js b/program/js/list.js
index 9db7b7a34..668d01917 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -230,7 +230,9 @@ focus: function(e)
}
// Un-focus already focused elements (#1487123, #1487316, #1488600, #1488620)
+ // It looks that window.focus() does the job for all browsers, but not Firefox (#1489058)
$(':focus:not(body)').blur();
+ window.focus();
if (e || (e = window.event))
rcube_event.cancel(e);