Fixes 'nobodywarning' on sending mailvelope mails

pull/5754/head
Michael Herold 8 years ago committed by Aleksander Machniak
parent 7a7c3fa8f2
commit 6612715f91

@ -4263,8 +4263,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