fix(Contact): don't go to last doc on validation errors (#35165)

This commit is contained in:
Raffael Meyer 2025-12-10 22:13:17 +01:00 committed by GitHub
parent 9cf559c277
commit 0efdebb7d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,6 +114,10 @@ frappe.ui.form.on("Contact", {
}
},
after_save: function (frm) {
if (frm.is_dirty()) {
return;
}
frappe.run_serially([
() => frappe.timeout(1),
() => {