email afterSave not called fix

This commit is contained in:
Yuri Kuznetsov
2024-09-26 10:01:43 +03:00
parent 48116f8dcf
commit 7f08df77f6

View File

@@ -215,7 +215,7 @@ class EmailComposeRecordView extends EditRecordView {
}
afterSave() {
super.afterRender();
super.afterSave();
if (this.isSending && this.model.get('status') === 'Sent') {
Espo.Ui.success(this.translate('emailSent', 'messages', 'Email'));