Update shopping_cart_settings.js

This commit is contained in:
rohitwaghchaure 2020-06-26 15:07:32 +05:30 committed by GitHub
parent 0ce70bd68f
commit 13e8c32172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ $.extend(cur_frm.cscript, {
toggle_mandatory(cur_frm)
},
enabled: function() {
if(cur_frm.doc.enabled == 1) {
if (cur_frm.doc.enabled === 1) {
cur_frm.doc.show_configure_button = 1;
cur_frm.refresh_field('show_configure_button');
}