From 59c404de0b1dd1da38773b7617276bc81535443a Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 7 Apr 2012 18:42:05 +0000 Subject: Corrently focus HTML editor to make cursor visible. Patch by JohnDoh (#1487073) --- program/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/editor.js') diff --git a/program/js/editor.js b/program/js/editor.js index ce3b38c0e..4adfe2b5d 100644 --- a/program/js/editor.js +++ b/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