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) --- CHANGELOG | 2 ++ program/include/main.inc | 2 +- program/js/editor.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 5808e73..6bdb8aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ CHANGELOG Roundcube Webmail =========================== +- Fix invisible cursor when replying to a html message (#1487073) +- Reset IP stored in session when destroying session data (#1488056) - Fix bug where memory_limit = -1 wasn't handled properly - Support LDAP RFC2256's country object class read/write (#1488123) - Upgraded to jQuery 1.7.2 diff --git a/program/include/main.inc b/program/include/main.inc index 3489928..3f50275 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1377,7 +1377,7 @@ 'skin_path' => $RCMAIL->output->get_skin_path(), 'spellcheck' => intval($RCMAIL->config->get('enable_spellcheck')), 'spelldict' => intval($RCMAIL->config->get('spellcheck_dictionary')), - ))), 'foot'); + ))), 'docready'); } 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