diff --git a/src/api/wishes.php b/src/api/wishes.php index 80c65581..acc24a84 100644 --- a/src/api/wishes.php +++ b/src/api/wishes.php @@ -24,11 +24,9 @@ switch ($_SERVER['REQUEST_METHOD']) { $database->query('INSERT INTO `wishes` ( `wishlist`, - `type`, `url` ) VALUES (' . $_POST['wishlist_id'] . ', - "' . $_POST['wish_type'] . '", "' . $_POST['wish_url'] . '" ) ;'); diff --git a/src/assets/js/wishlists.js b/src/assets/js/wishlists.js index a556650f..d280e7b4 100644 --- a/src/assets/js/wishlists.js +++ b/src/assets/js/wishlists.js @@ -376,8 +376,6 @@ $(function () { /** * Add wish */ - $('.ui.dropdown.types').dropdown(); - $(document).on('click', '.button.wishlist-wish-add', function () { var modalWishlistWishAdd = $('.ui.modal.wishlist-wish-add'); diff --git a/src/pages/wishlists.php b/src/pages/wishlists.php index 71b58680..ff4112c8 100644 --- a/src/pages/wishlists.php +++ b/src/pages/wishlists.php @@ -138,14 +138,6 @@ $page->navigation();
-
- - -
-