diff --git a/src/assets/js/default.js b/src/assets/js/default.js index 2ca8f80c..6676b407 100644 --- a/src/assets/js/default.js +++ b/src/assets/js/default.js @@ -36,8 +36,7 @@ $(function() { } $.fn.api.settings.onSuccess = function(response, element, xhr) { element.dropdown({ - values : response.results, - placeholder: text.wishlist_no_selection + values : response.results }) if ($_GET.id) { diff --git a/src/assets/js/wishlists.js b/src/assets/js/wishlists.js index 9f310174..d18f8ddd 100644 --- a/src/assets/js/wishlists.js +++ b/src/assets/js/wishlists.js @@ -23,8 +23,7 @@ $(function () { wishlists = response.results; element.dropdown({ - values : wishlists, - placeholder : text.wishlist_no_selection + values : wishlists }) if (wishlist.id) { diff --git a/src/classes/page.php b/src/classes/page.php index 97ebf26c..c785c304 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -334,8 +334,6 @@ class Page var wish_status_unavailable = ''; var wish_status_fulfilled = ''; var text = { - wishlist_no_selection : '', - modal_error_title : '', modal_failure_title : '', modal_failure_content : '',