fix: redirections

This commit is contained in:
Summayya
2021-08-23 10:02:06 +05:30
parent c6fc0a22d2
commit a1e12d29ac
4 changed files with 5 additions and 5 deletions

View File

@@ -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);
}
})

View File

@@ -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": [
{

View File

@@ -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);
}
})

View File

@@ -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);
}
})