fix insert template

This commit is contained in:
yuri
2015-09-09 17:03:32 +03:00
parent 1b33221fc1
commit 81335454fd
@@ -39,6 +39,7 @@ Espo.define('views/email/record/compose', ['views/record/edit', 'views/email/rec
var body = this.appendSignature(data.body || '', data.isHtml);
this.model.set('isHtml', data.isHtml);
this.model.set('name', data.subject);
this.model.set('body', '');
this.model.set('body', body);
this.model.set({
attachmentsIds: data.attachmentsIds,