mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
Update shopping_cart_settings.js
(cherry picked from commit 13e8c32172)
This commit is contained in:
committed by
mergify-bot
parent
e73dec158b
commit
8a542bc9df
@@ -15,7 +15,7 @@ $.extend(cur_frm.cscript, {
|
|||||||
toggle_mandatory(cur_frm)
|
toggle_mandatory(cur_frm)
|
||||||
},
|
},
|
||||||
enabled: function() {
|
enabled: function() {
|
||||||
if(cur_frm.doc.enabled == 1) {
|
if (cur_frm.doc.enabled === 1) {
|
||||||
cur_frm.doc.show_configure_button = 1;
|
cur_frm.doc.show_configure_button = 1;
|
||||||
cur_frm.refresh_field('show_configure_button');
|
cur_frm.refresh_field('show_configure_button');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user