From f2c8163b4b5a9ae44f301111d149d7f345c778e9 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Mon, 13 Jun 2022 09:27:34 +0200 Subject: [PATCH] Reset wish-add tabs --- src/assets/js/wishlists.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/assets/js/wishlists.js b/src/assets/js/wishlists.js index fe3dee7a..ed13e329 100644 --- a/src/assets/js/wishlists.js +++ b/src/assets/js/wishlists.js @@ -332,6 +332,7 @@ $(function () { formEdit.addClass('loading'); formEdit.trigger('reset'); formEdit.find('.dropdown').dropdown('restore defaults'); + formEdit.find('.item[data-tab="product"]').addClass('disabled'); /** Get Wish */ var wishID = $(this).attr('data-id'); @@ -448,6 +449,7 @@ $(function () { var formAdd = $('.form.wishlist-wish-add'); formAdd.trigger('reset'); formAdd.find('.dropdown').dropdown('restore defaults'); + formAdd.find('.item[data-tab="product"]').addClass('disabled'); /** Modal */ var modalWishlistWishAdd = $('.ui.modal.wishlist-wish-add');