diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-30 20:16:25 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-30 20:16:25 +0000 |
| commit | 020a3a152c4b5a52d75ec01939b9adb16d0c2cf8 (patch) | |
| tree | ef4558adb9f986543d171a383f1e60f294ea4a33 /roundcubemail/program/js/editor.js | |
| parent | b918e123d61625f2442f4fadedc2f0d0ec38ddba (diff) | |
- Fix cursor position on compose form in Webkit browsers (#1486674)
git-svn-id: https://svn.roundcube.net/trunk@4293 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/editor.js')
| -rw-r--r-- | roundcubemail/program/js/editor.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 2ee4ac1ce..3845e3de4 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/program/js/editor.js @@ -71,8 +71,10 @@ function rcmail_editor_callback() if (elem && elem.type == 'select-one') { rcmail.change_identity(elem); // Focus previously focused element - if (fe && fe.id != rcmail.env.composebody) + if (fe && fe.id != rcmail.env.composebody) { + window.focus(); // for WebKit (#1486674) fe.focus(); + } } // set tabIndex and set focus to element that was focused before |
