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;
}
// check for empty body
if (!this.editor.get_content() && !confirm(this.get_label('nobodywarning'))) {
// check for empty body (only possible if not mailvelope encrypted)
if (!this.mailvelope_editor && !this.editor.get_content() && !confirm(this.get_label('nobodywarning'))) {
this.editor.focus();
return false;
}

Loading…
Cancel
Save