diff options
| author | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-17 04:17:55 +0000 |
|---|---|---|
| committer | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-17 04:17:55 +0000 |
| commit | f9e189bae81d894942e43b2d05627cf81e823c78 (patch) | |
| tree | 773dd22b1731bcc4b1b10a9cc998d046c5403862 /roundcubemail/program | |
| parent | 71ade81c6b302b90cb3b99fe86d5619e637e0aa4 (diff) | |
fix HTML mail sending
git-svn-id: https://svn.roundcube.net/trunk@1320 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 4 | ||||
| -rw-r--r-- | roundcubemail/program/steps/settings/edit_identity.inc | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 98eb9d8ac..91389415a 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -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; diff --git a/roundcubemail/program/steps/settings/edit_identity.inc b/roundcubemail/program/steps/settings/edit_identity.inc index 37fbbcaff..2dec5b258 100644 --- a/roundcubemail/program/steps/settings/edit_identity.inc +++ b/roundcubemail/program/steps/settings/edit_identity.inc @@ -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'," . |
