fix HTML mail sending

release-0.6
svncommit 17 years ago
parent 09c1a37be2
commit 140d6e9063

@ -1,6 +1,10 @@
CHANGELOG RoundCube Webmail
---------------------------
2008/04/12 (estadtherr)
----------
- Fix mail sending with new TinyMCE
2008/04/16 (alec)
----------
- Fix typo in set_charset() (#1484991)

@ -1792,7 +1792,9 @@ function rcube_webmail()
}
// check for empty body
if ((input_message.value == '' && (!window.tinyMCE || tinyMCE.getContent() == '')) && !confirm(this.get_label('nobodywarning')))
if ((input_message.value == '' &&
(!window.tinyMCE || tinyMCE.get('compose-body').getContent() == '')) &&
!confirm(this.get_label('nobodywarning')))
{
input_message.focus();
return false;

@ -49,7 +49,7 @@ function rcube_identity_form($attrib)
$OUTPUT->add_script("tinyMCE.init({ mode : 'textareas'," .
"editor_selector : 'mce_editor'," .
"apply_source_formatting : true," .
"language : '$tinylang'," .
"language : '$tinylang'," .
"content_css : '\$__skin_path' + '/editor_content.css'," .
"theme : 'advanced'," .
"theme_advanced_toolbar_location : 'top'," .

Loading…
Cancel
Save