Fixes 'nobodywarning' on sending mailvelope mails

pull/5277/head
Michael Herold 8 years ago
parent 0344b16827
commit d3c6d6570b

@ -4305,8 +4305,8 @@ function rcube_webmail()
return false; return false;
} }
// check for empty body // check for empty body (only possible if not mailvelope encrypted)
if (!this.editor.get_content() && !confirm(this.get_label('nobodywarning'))) { if (!this.mailvelope_editor && !this.editor.get_content() && !confirm(this.get_label('nobodywarning'))) {
this.editor.focus(); this.editor.focus();
return false; return false;
} }

Loading…
Cancel
Save