Use same fields for add and edit wish
This commit is contained in:
parent
1fde8a81be
commit
6c47875d78
13 changed files with 111 additions and 108 deletions
|
@ -55,8 +55,6 @@ $(function () {
|
|||
/** Update URL */
|
||||
urlParams.set('id', wishlistValue);
|
||||
|
||||
console.log(wishlistValue);
|
||||
|
||||
fetch('/src/api/url.php?url=' + window.btoa(urlParams.toString()), {
|
||||
method: 'GET'
|
||||
})
|
||||
|
@ -368,8 +366,8 @@ $(function () {
|
|||
modalWishlistWishAdd.find('[name="wishlist_id"]').val($('.ui.dropdown.wishlists').dropdown('get value'));
|
||||
modalWishlistWishAdd
|
||||
.modal({
|
||||
autoShow : true,
|
||||
onApprove: function (buttonAdd) {
|
||||
autoShow : true,
|
||||
onApprove : function (buttonAdd) {
|
||||
buttonAdd.addClass('loading');
|
||||
|
||||
var form = $('.form.wishlist-wish-add');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue