fix: web form issues
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
frappe.ready(function () {
|
||||
frappe.web_form.after_save = () => {
|
||||
setTimeout(function () {
|
||||
window.location.href = '/about';
|
||||
}, 2000);
|
||||
}
|
||||
})
|
||||
|
||||
frappe.web_form.after_load = () => {
|
||||
frappe.web_form.set_value("user", frappe.session.user);
|
||||
}
|
||||
|
||||
frappe.web_form.after_save = () => {
|
||||
setTimeout(function () {
|
||||
window.location.href = '/about';
|
||||
}, 2000);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user