compose email: skip appending initial body if changed

This commit is contained in:
Yuri Kuznetsov
2020-03-05 11:53:16 +02:00
parent ae874c44f5
commit ffe83d24ce
+1 -1
View File
@@ -109,7 +109,7 @@ define('views/email/record/compose', ['views/record/edit', 'views/email/record/d
body = this.appendSignature(body || '', data.isHtml);
}
if (this.initialBody) {
if (this.initialBody && !this.isBodyChanged) {
var initialBody = this.initialBody;
if (data.isHtml !== this.initialIsHtml) {
if (data.isHtml) {