fix
This commit is contained in:
@@ -199,7 +199,7 @@ export default class MassEmailSendTestModalView extends ModalView {
|
||||
this.disableButton('sendTest');
|
||||
|
||||
Espo.Ajax.postRequest('MassEmail/action/sendTest', {
|
||||
id: this.formModel.id,
|
||||
id: this.model.id,
|
||||
targetList: list,
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
@@ -41,7 +41,7 @@ export default class extends ListRecordView {
|
||||
return;
|
||||
}
|
||||
|
||||
const view = new MassEmailSendTestModalView({model: this.model});
|
||||
const view = new MassEmailSendTestModalView({model: model});
|
||||
|
||||
await this.assignView('modal', view);
|
||||
await view.render();
|
||||
|
||||
Reference in New Issue
Block a user