diff --git a/community/event_management/doctype/talk/talk.json b/community/event_management/doctype/talk/talk.json index 36ecb39c..c09b583f 100644 --- a/community/event_management/doctype/talk/talk.json +++ b/community/event_management/doctype/talk/talk.json @@ -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", diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.js b/community/event_management/web_form/attendee_registration/attendee_registration.js index 434ef10e..b1032fda 100644 --- a/community/event_management/web_form/attendee_registration/attendee_registration.js +++ b/community/event_management/web_form/attendee_registration/attendee_registration.js @@ -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';