Disable auto selection of wishlist

This commit is contained in:
Jay Trees 2022-01-17 13:51:49 +01:00
parent 6f52a4a0c7
commit cc3daa09f5

View file

@ -25,11 +25,9 @@ $(function() {
$('.ui.dropdown.wishlists').removeClass('loading');
},
onSuccess: function(response, element, xhr) {
$('.ui.dropdown.wishlists')
.dropdown({
$('.ui.dropdown.wishlists').dropdown({
values: response.results
})
.dropdown('set selected', response.results[0].value);
},
onFailure: function(response, element, xhr) {
console.log('onFailure');