From 2e856908b625fd2c4a31d89db425615d408c4f8d Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 12 Feb 2015 15:25:26 +0530 Subject: [PATCH] fix Customize form iconbar undefined issue --- frappe/custom/doctype/customize_form/customize_form.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/custom/doctype/customize_form/customize_form.js b/frappe/custom/doctype/customize_form/customize_form.js index 10dc900946..2d96b623fd 100644 --- a/frappe/custom/doctype/customize_form/customize_form.js +++ b/frappe/custom/doctype/customize_form/customize_form.js @@ -40,7 +40,6 @@ frappe.ui.form.on("Customize Form", "doc_type", function(frm) { frappe.ui.form.on("Customize Form", "refresh", function(frm) { frm.disable_save(); - frm.frm_head.page.iconbar.clear("1"); if(frm.doc.doc_type) { frm.page.set_primary_action(__("Update"), function() {