summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-11 17:11:03 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-11 17:11:03 +0000
commit96da6cd44b1d98c84b225de72e6a30935da6d944 (patch)
tree8dc01c0a0b3b1695abf37451139a3f99252d77fb /roundcubemail/program
parenta1e41bc3417eba9b9e14c17175a184e4e2641053 (diff)
Fixed check for message content when composing
git-svn-id: https://svn.roundcube.net/trunk@795 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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;