fix: remove speaker-registration

This commit is contained in:
Summayya
2021-08-20 13:41:11 +05:30
parent 2894a5e479
commit dba956e473
37 changed files with 278 additions and 168 deletions

View File

@@ -1,3 +1,7 @@
frappe.ready(function() {
// bind events here
frappe.ready(function () {
frappe.web_form.after_save = () => {
setTimeout(function () {
window.location.href = '/event/conference2021/about';
}, 2000);
}
})

View File

@@ -10,7 +10,9 @@
"amount_based_on_field": 0,
"apply_document_permissions": 0,
"button_label": "Submit",
"client_script": "",
"creation": "2021-08-19 15:16:22.341723",
"custom_css": "[data-doctype=\"Web Form\"] {\n max-width: 720px;\n margin: 6rem auto;\n}",
"doc_type": "Talk",
"docstatus": 0,
"doctype": "Web Form",
@@ -18,19 +20,20 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2021-08-19 15:22:37.040442",
"modified": "2021-08-20 13:33:49.508780",
"modified_by": "Administrator",
"module": "Event Management",
"name": "purpose-a-talk",
"owner": "Administrator",
"payment_button_label": "Buy Now",
"published": 1,
"route": "event/conference/purpose-a-talk",
"route": "propose-talk",
"route_to_success_link": 0,
"show_attachments": 0,
"show_in_grid": 0,
"show_sidebar": 0,
"sidebar_items": [],
"success_message": "Talk Submitted!",
"success_url": "/purpose-a-talk",
"title": "Purpose a Talk",
"web_form_fields": [
@@ -49,13 +52,12 @@
},
{
"allow_read_on_all_link_options": 0,
"fieldname": "speaker",
"fieldtype": "Link",
"fieldname": "company",
"fieldtype": "Data",
"hidden": 0,
"label": "Speaker",
"label": "Company",
"max_length": 0,
"max_value": 0,
"options": "Speaker",
"read_only": 0,
"reqd": 0,
"show_in_filter": 0
@@ -65,11 +67,11 @@
"fieldname": "topic",
"fieldtype": "Data",
"hidden": 0,
"label": "Topic",
"label": "Category",
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0,
"reqd": 1,
"show_in_filter": 0
},
{
@@ -81,7 +83,7 @@
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0,
"reqd": 1,
"show_in_filter": 0
},
{
@@ -93,7 +95,7 @@
"max_length": 0,
"max_value": 0,
"read_only": 0,
"reqd": 0,
"reqd": 1,
"show_in_filter": 0
},
{