diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-07 18:42:05 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-07 18:42:05 +0000 |
| commit | 1fa591ff17dff2c8875e322294c60c13782d22e5 (patch) | |
| tree | fba7daf6483536e0c7d60b5edbaaf790bdbdd68d /roundcubemail/program/js | |
| parent | e4ed391f8bb392d58dea535036edf5636bba3d32 (diff) | |
Corrently focus HTML editor to make cursor visible. Patch by JohnDoh (#1487073)
git-svn-id: https://svn.roundcube.net/trunk@6050 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index ce3b38c0e..4adfe2b5d 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/program/js/editor.js @@ -107,7 +107,7 @@ function rcmail_editor_tabindex(focus) if (textarea && node) node.tabIndex = textarea.tabIndex; if (focus) - editor.getWin().focus(); + editor.getBody().focus(); } } } |
