From cf3f125784601209c53e2f901c78c9d87feca809 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 28 Apr 2013 10:09:19 +0200 Subject: Fix messages list focus issue in Internet Explorer (#1489058) Conflicts: CHANGELOG --- CHANGELOG | 1 + program/js/list.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index e3f6b5165..a9d42549d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix messages list focus issue in Internet Explorer (#1489058) - Fix possible collision in generated thumbnail cache key (#1489069) - Fix exit code on bootsrap errors in CLI mode (#1489044) - Fix error handling in CLI mode, use STDERR and non-empty exit code (#1489043) 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); -- cgit v1.2.3