Index: program/js/app.js
===================================================================
--- program/js/app.js	(revision e189a6ca18fe43def249c78a0e89405012981de5)
+++ program/js/app.js	(revision 808fb26b619bb858cd77010a7d42648e21f07f81)
@@ -1890,7 +1890,7 @@
 
     // check for empty body
-    if ((input_message.value == '' &&
-         (!window.tinyMCE || tinyMCE.get('compose-body').getContent() == '')) &&
-        !confirm(this.get_label('nobodywarning')))
+    if ((((!window.tinyMCE || !tinyMCE.get('compose-body')) && input_message.value == '')
+	|| (window.tinyMCE && tinyMCE.get('compose-body') && tinyMCE.get('compose-body').getContent() == ''))
+	&& !confirm(this.get_label('nobodywarning')))
       {
       input_message.focus();
