Merge pull request #5277 from hemio-ev/mailvelope-fixes

Fixes 'nobodywarning' on sending mailvelope mails
pull/5288/head
Aleksander Machniak 8 years ago
commit db70d3e491

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