From bec6b5c8275412300b8959030e9f60f6c683c2f9 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 19 May 2017 10:37:43 +0530 Subject: [PATCH] Update Custom Field background color in Customize Form (frappe/erpnext#6432) (#3334) --- frappe/custom/doctype/customize_form/customize_form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/custom/doctype/customize_form/customize_form.js b/frappe/custom/doctype/customize_form/customize_form.js index d9b1496877..8308d5a85a 100644 --- a/frappe/custom/doctype/customize_form/customize_form.js +++ b/frappe/custom/doctype/customize_form/customize_form.js @@ -149,6 +149,7 @@ frappe.customize_form.set_primary_action = function(frm) { callback: function(r) { if(!r.exc) { frappe.customize_form.clear_locals_and_refresh(frm); + frm.script_manager.trigger("doc_type"); } } });