mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
fix Conver lead leavout confirmation popup
This commit is contained in:
@@ -172,12 +172,21 @@ class ConvertLeadView extends MainView {
|
||||
scopeList.forEach(scope => {
|
||||
const editView = /** @type {import('views/record/edit').default} */this.getView(scope);
|
||||
|
||||
editView.setConfirmLeaveOut(false);
|
||||
|
||||
editView.model.set(editView.fetch());
|
||||
notValid = editView.validate() || notValid;
|
||||
});
|
||||
|
||||
this.scopeList.forEach(scope => {
|
||||
const editView = /** @type {import('views/record/edit').default} */
|
||||
this.getView(scope);
|
||||
|
||||
if (!editView) {
|
||||
return;
|
||||
}
|
||||
|
||||
editView.setConfirmLeaveOut(false);
|
||||
});
|
||||
|
||||
const data = {
|
||||
id: this.model.id,
|
||||
records: {},
|
||||
|
||||
Reference in New Issue
Block a user