From d3c6d6570b744adc1885ec4a6dae3dca40b72efe Mon Sep 17 00:00:00 2001 From: Michael Herold Date: Wed, 25 May 2016 11:15:49 +0200 Subject: [PATCH] Fixes 'nobodywarning' on sending mailvelope mails --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index b1e6cf437..2bfdc645f 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -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; }