From 1fa591ff17dff2c8875e322294c60c13782d22e5 Mon Sep 17 00:00:00 2001 From: thomasb Date: Sat, 7 Apr 2012 18:42:05 +0000 Subject: 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 --- roundcubemail/program/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js') 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(); } } } -- cgit v1.2.3