Fix dropdown selecting item
This commit is contained in:
parent
35f5a76dfa
commit
9691514be6
2 changed files with 10 additions and 2 deletions
|
@ -27,7 +27,11 @@ $(function () {
|
||||||
var html = response.results ? response.results : '';
|
var html = response.results ? response.results : '';
|
||||||
|
|
||||||
$('.wishlist-cards').html(html);
|
$('.wishlist-cards').html(html);
|
||||||
$('.ui.dropdown.wish-options').dropdown().removeClass('disabled');
|
$('.ui.dropdown.wish-options')
|
||||||
|
.removeClass('disabled')
|
||||||
|
.dropdown({
|
||||||
|
'action' : 'select'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.dropdown('set selected', -1);
|
.dropdown('set selected', -1);
|
||||||
|
|
|
@ -70,7 +70,11 @@ $(function () {
|
||||||
/** Enable wishlist options buttons */
|
/** Enable wishlist options buttons */
|
||||||
$('.button.wishlist-wish-add').removeClass('disabled');
|
$('.button.wishlist-wish-add').removeClass('disabled');
|
||||||
$('.button.wishlist-share').removeClass('disabled');
|
$('.button.wishlist-share').removeClass('disabled');
|
||||||
$('.button.wishlist-options').removeClass('disabled').dropdown();
|
$('.button.wishlist-options')
|
||||||
|
.removeClass('disabled')
|
||||||
|
.dropdown({
|
||||||
|
'action' : 'select'
|
||||||
|
});
|
||||||
$('.wishlist-rename').removeClass('disabled');
|
$('.wishlist-rename').removeClass('disabled');
|
||||||
$('.wishlist-delete').removeClass('disabled');
|
$('.wishlist-delete').removeClass('disabled');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue