summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-28 10:09:19 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-28 10:10:27 +0200
commitcf3f125784601209c53e2f901c78c9d87feca809 (patch)
tree93a476b59b8b91530644371eb8f09ba95382ee45 /program/js
parentecc1b3bd5e8d366815b39a5455a267c9f4ad6a19 (diff)
Fix messages list focus issue in Internet Explorer (#1489058)
Conflicts: CHANGELOG
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 7bd29cf5e..2b44a7c3d 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -231,7 +231,8 @@ focus: function(e)
// Un-focus already focused elements (#1487123, #1487316, #1488600, #1488620)
$(':focus:not(body)').blur();
- $('iframe').each(function() { this.blur(); });
+ // un-focus iframe bodies (#1489058), this doesn't work in Opera and Chrome
+ $('iframe').contents().find('body').blur();
if (e || (e = window.event))
rcube_event.cancel(e);