fix: web form api for membership

This commit is contained in:
Shivam Mishra
2019-08-21 18:31:14 +05:30
parent 5f9e7ccb53
commit 24218615ff
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
frappe.ready(function() { frappe.ready(function() {
setTimeout(() => { setTimeout(() => {
// bind events here // bind events here
form = frappe.web_form.field_group.fields_dict; form = frappe.web_form.fields_dict;
$(".page-header-actions-block .btn-primary, .page-header-actions-block .btn-default").addClass('hidden'); $(".page-header-actions-block .btn-primary, .page-header-actions-block .btn-default").addClass('hidden');
$(".text-right .btn-primary").addClass('hidden'); $(".text-right .btn-primary").addClass('hidden');

View File

@@ -1,7 +1,7 @@
frappe.ready(function() { frappe.ready(function() {
setTimeout(() => { setTimeout(() => {
// bind events here // bind events here
form = frappe.web_form.field_group.fields_dict; form = frappe.web_form.fields_dict;
$(".page-header-actions-block .btn-primary, .page-header-actions-block .btn-default").addClass('hidden'); $(".page-header-actions-block .btn-primary, .page-header-actions-block .btn-default").addClass('hidden');
$(".text-right .btn-primary").addClass('hidden'); $(".text-right .btn-primary").addClass('hidden');