This commit is contained in:
grandeljay 2022-02-27 00:42:04 +01:00
parent 95fce926c5
commit fa7d0d7225

View file

@ -427,7 +427,7 @@ $(function () {
var elementModalAdd = $('.ui.modal.wishlist-wish-add'); var elementModalAdd = $('.ui.modal.wishlist-wish-add');
var elementButtons = elementModalAdd.find('.actions .button'); var elementButtons = elementModalAdd.find('.actions .button');
var elementName = elementModalAdd.find('input[name="wish_name"]'); var elementTitle = elementModalAdd.find('input[name="wish_name"]');
buttonValidate.addClass('disabled loading'); buttonValidate.addClass('disabled loading');
elementButtons.addClass('disabled'); elementButtons.addClass('disabled');
@ -443,8 +443,8 @@ $(function () {
/** /**
* Name * Name
*/ */
if (info.title && elementName.length) { if (info.title && elementTitle.length) {
elementName.val(info.title); elementTitle.val(info.title);
} }
/** /**