fix(Contact): don't go to last doc on validation errors (#35165)
This commit is contained in:
parent
9cf559c277
commit
0efdebb7d8
1 changed files with 4 additions and 0 deletions
|
|
@ -114,6 +114,10 @@ frappe.ui.form.on("Contact", {
|
|||
}
|
||||
},
|
||||
after_save: function (frm) {
|
||||
if (frm.is_dirty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
frappe.run_serially([
|
||||
() => frappe.timeout(1),
|
||||
() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue