Fixed check for message content when composing

release-0.6
thomascube 17 years ago
parent 75f5340f0c
commit 67eda0850d

@ -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;

Loading…
Cancel
Save