Fix wrong compose screen elements focus in IE9 (#1488541)

pull/13/head
Aleksander Machniak 12 years ago
parent 8ba01c077b
commit ad9dac529e

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix wrong compose screen elements focus in IE9 (#1488541)
- Fix fatal error when date.timezone isn't set (#1488546)
- Update to TinyMCE 3.5.4.1
- Better icons with distinct shapes for priority columns (#1488377)

@ -84,8 +84,11 @@ function rcmail_editor_callback()
rcmail.change_identity(elem);
// Focus previously focused element
if (fe && fe.id != rcmail.env.composebody) {
window.focus(); // for WebKit (#1486674)
fe.focus();
// use setTimeout() for IE9 (#1488541)
window.setTimeout(function() {
window.focus(); // for WebKit (#1486674)
fe.focus();
}, 10);
}
}

Loading…
Cancel
Save