From 96da6cd44b1d98c84b225de72e6a30935da6d944 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 11 Sep 2007 17:11:03 +0000 Subject: Fixed check for message content when composing git-svn-id: https://svn.roundcube.net/trunk@795 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 5af98a256..7bc0fb310 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1691,7 +1691,7 @@ 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.getContent() == '')) && !confirm(this.get_label('nobodywarning'))) { input_message.focus(); return false; -- cgit v1.2.3