From a1e12d29ac11f5f7c00f86544a1b83808abe0b8d Mon Sep 17 00:00:00 2001 From: Summayya Date: Mon, 23 Aug 2021 10:02:06 +0530 Subject: [PATCH] fix: redirections --- .../web_form/attendee_registration/attendee_registration.js | 2 +- .../web_form/attendee_registration/attendee_registration.json | 4 ++-- .../web_form/exhibitor_registration/exhibitor_registration.js | 2 +- .../web_form/purpose_a_talk/purpose_a_talk.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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 52fc3614..434ef10e 100644 --- a/community/event_management/web_form/attendee_registration/attendee_registration.js +++ b/community/event_management/web_form/attendee_registration/attendee_registration.js @@ -1,7 +1,7 @@ frappe.ready(function () { frappe.web_form.after_save = () => { setTimeout(function () { - window.location.href = '/event/conference2021/about'; + window.location.href = '/about'; }, 2000); } }) \ No newline at end of file diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.json b/community/event_management/web_form/attendee_registration/attendee_registration.json index 208d4150..a6bf8901 100644 --- a/community/event_management/web_form/attendee_registration/attendee_registration.json +++ b/community/event_management/web_form/attendee_registration/attendee_registration.json @@ -26,13 +26,13 @@ "owner": "Administrator", "payment_button_label": "Buy Now", "published": 1, - "route": "event/conference2021/attendee-registration", + "route": "/attendee-registration", "route_to_success_link": 1, "show_attachments": 0, "show_in_grid": 0, "show_sidebar": 0, "sidebar_items": [], - "success_url": "/event/conference2021/about", + "success_url": "/about", "title": "Attendee Registration", "web_form_fields": [ { diff --git a/community/event_management/web_form/exhibitor_registration/exhibitor_registration.js b/community/event_management/web_form/exhibitor_registration/exhibitor_registration.js index 52fc3614..434ef10e 100644 --- a/community/event_management/web_form/exhibitor_registration/exhibitor_registration.js +++ b/community/event_management/web_form/exhibitor_registration/exhibitor_registration.js @@ -1,7 +1,7 @@ frappe.ready(function () { frappe.web_form.after_save = () => { setTimeout(function () { - window.location.href = '/event/conference2021/about'; + window.location.href = '/about'; }, 2000); } }) \ No newline at end of file diff --git a/community/event_management/web_form/purpose_a_talk/purpose_a_talk.js b/community/event_management/web_form/purpose_a_talk/purpose_a_talk.js index 52fc3614..434ef10e 100644 --- a/community/event_management/web_form/purpose_a_talk/purpose_a_talk.js +++ b/community/event_management/web_form/purpose_a_talk/purpose_a_talk.js @@ -1,7 +1,7 @@ frappe.ready(function () { frappe.web_form.after_save = () => { setTimeout(function () { - window.location.href = '/event/conference2021/about'; + window.location.href = '/about'; }, 2000); } }) \ No newline at end of file