Corrently focus HTML editor to make cursor visible. Patch by JohnDoh (#1487073)

pull/1/head
thomascube 13 years ago
parent c73efcc7bb
commit 59c404de0b

@ -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

@ -1377,7 +1377,7 @@ function rcube_html_editor($mode='')
'skin_path' => $RCMAIL->output->get_skin_path(),
'spellcheck' => intval($RCMAIL->config->get('enable_spellcheck')),
'spelldict' => intval($RCMAIL->config->get('spellcheck_dictionary')),
))), 'foot');
))), 'docready');
}

@ -107,7 +107,7 @@ function rcmail_editor_tabindex(focus)
if (textarea && node)
node.tabIndex = textarea.tabIndex;
if (focus)
editor.getWin().focus();
editor.getBody().focus();
}
}
}

Loading…
Cancel
Save