summaryrefslogtreecommitdiff
path: root/program/js/editor.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-04-07 18:42:05 +0000
committerthomascube <thomas@roundcube.net>2012-04-07 18:42:05 +0000
commit59c404de0b1dd1da38773b7617276bc81535443a (patch)
treef45abf3242f487b4e87c14dae5849c4c3a3f22ca /program/js/editor.js
parentc73efcc7bb6e0980ecd6505970894c57162940ea (diff)
Corrently focus HTML editor to make cursor visible. Patch by JohnDoh (#1487073)
Diffstat (limited to 'program/js/editor.js')
-rw-r--r--program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
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();
}
}
}