fix: implicit user

This commit is contained in:
Summayya
2021-08-24 17:27:16 +05:30
parent b0280c3be4
commit 3e24ff9678
2 changed files with 5 additions and 1 deletions

View File

@@ -113,7 +113,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2021-08-24 11:46:34.476903",
"modified": "2021-08-24 16:47:34.557010",
"modified_by": "Administrator",
"module": "Event Management",
"name": "Talk",

View File

@@ -1,4 +1,8 @@
frappe.ready(function () {
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';