Reset wish-add tabs
This commit is contained in:
parent
8307e7092e
commit
f2c8163b4b
1 changed files with 2 additions and 0 deletions
|
@ -332,6 +332,7 @@ $(function () {
|
||||||
formEdit.addClass('loading');
|
formEdit.addClass('loading');
|
||||||
formEdit.trigger('reset');
|
formEdit.trigger('reset');
|
||||||
formEdit.find('.dropdown').dropdown('restore defaults');
|
formEdit.find('.dropdown').dropdown('restore defaults');
|
||||||
|
formEdit.find('.item[data-tab="product"]').addClass('disabled');
|
||||||
|
|
||||||
/** Get Wish */
|
/** Get Wish */
|
||||||
var wishID = $(this).attr('data-id');
|
var wishID = $(this).attr('data-id');
|
||||||
|
@ -448,6 +449,7 @@ $(function () {
|
||||||
var formAdd = $('.form.wishlist-wish-add');
|
var formAdd = $('.form.wishlist-wish-add');
|
||||||
formAdd.trigger('reset');
|
formAdd.trigger('reset');
|
||||||
formAdd.find('.dropdown').dropdown('restore defaults');
|
formAdd.find('.dropdown').dropdown('restore defaults');
|
||||||
|
formAdd.find('.item[data-tab="product"]').addClass('disabled');
|
||||||
|
|
||||||
/** Modal */
|
/** Modal */
|
||||||
var modalWishlistWishAdd = $('.ui.modal.wishlist-wish-add');
|
var modalWishlistWishAdd = $('.ui.modal.wishlist-wish-add');
|
||||||
|
|
Loading…
Reference in a new issue