feat: reset driver on hash change (#11005)

This commit is contained in:
Shivam Mishra 2020-07-15 14:05:12 +05:30 committed by GitHub
parent e0545099fc
commit 5ce6940aa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1604,6 +1604,7 @@ frappe.ui.form.Form = class FrappeForm {
});
driver.defineSteps(steps);
frappe.route.on('change', () => driver.reset());
driver.start();
}
};