From f9e189bae81d894942e43b2d05627cf81e823c78 Mon Sep 17 00:00:00 2001 From: estadtherr Date: Thu, 17 Apr 2008 04:17:55 +0000 Subject: fix HTML mail sending git-svn-id: https://svn.roundcube.net/trunk@1320 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/js') 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; -- cgit v1.2.3