Improve product price

This commit is contained in:
grandeljay 2022-06-13 11:00:56 +02:00
parent e1ec8bd69f
commit 7b6fef16c5
4 changed files with 28 additions and 23 deletions

View file

@ -335,14 +335,17 @@ $(function () {
formEdit.find('.item').tab('change tab', 'general');
/** Checkbox */
formEdit.find('.checkbox').checkbox({
formEdit
.find('.checkbox')
.checkbox({
onChecked : function() {
formEdit.find('.item[data-tab="product"]').removeClass('disabled');
},
onUnchecked : function() {
formEdit.find('.item[data-tab="product"]').addClass('disabled');
},
});
})
.checkbox('uncheck');
/** Get Wish */
var wishID = $(this).attr('data-id');
@ -478,7 +481,8 @@ $(function () {
onUnchecked : function() {
formAdd.find('.item[data-tab="product"]').addClass('disabled');
},
});
})
.checkbox('uncheck');
/** Modal */
var modalWishlistWishAdd = $('.ui.modal.wishlist-wish-add');