From 59c404de0b1dd1da38773b7617276bc81535443a Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 07 Apr 2012 14:42:05 -0400 Subject: [PATCH] Corrently focus HTML editor to make cursor visible. Patch by JohnDoh (#1487073) --- program/js/editor.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/editor.js b/program/js/editor.js index ce3b38c..4adfe2b 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -107,7 +107,7 @@ if (textarea && node) node.tabIndex = textarea.tabIndex; if (focus) - editor.getWin().focus(); + editor.getBody().focus(); } } } -- Gitblit v1.9.1