summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-09-11 17:11:03 +0000
committerthomascube <thomas@roundcube.net>2007-09-11 17:11:03 +0000
commit67eda0850d9e71a3b461e278730afe7b9ad9b9c3 (patch)
treeace94c7fa57c9d4749f8c67888ef8b7f34b333f9
parent75f5340f0c63082046ae0e7720a935bfe76a1338 (diff)
Fixed check for message content when composing
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 5af98a256..7bc0fb310 100644
--- a/program/js/app.js
+++ b/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;