Wait for after_ajax after setting form values
This commit is contained in:
parent
c5837f28fe
commit
116a123f50
1 changed files with 4 additions and 2 deletions
|
|
@ -36,7 +36,8 @@ frappe.tests = {
|
|||
}
|
||||
};
|
||||
tasks.push(task);
|
||||
tasks.push(() => frappe.timeout(0.2));
|
||||
tasks.push(frappe.after_ajax);
|
||||
tasks.push(() => frappe.timeout(0.4));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -68,7 +69,8 @@ frappe.tests = {
|
|||
return frappe.model.set_value(grid_row.doc.doctype,
|
||||
grid_row.doc.name, child_key, child_value[child_key]);
|
||||
});
|
||||
grid_value_tasks.push(() => frappe.timeout(0.2));
|
||||
grid_value_tasks.push(frappe.after_ajax);
|
||||
grid_value_tasks.push(() => frappe.timeout(0.4));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue