Remove wish types

This commit is contained in:
grandeljay 2022-02-26 23:37:54 +01:00
parent 7292caecf4
commit 0b2e8889d3
3 changed files with 0 additions and 12 deletions

View file

@ -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'] . '"
)
;');

View file

@ -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');

View file

@ -138,14 +138,6 @@ $page->navigation();
<form class="ui form wishlist-wish-fetch" method="post">
<input type="hidden" name="wishlist_id" />
<div class="field">
<label>Type</label>
<select class="ui fluid selection dropdown types" name="wish_type">
<option value="product">Product</option>
<option value="custom" disabled>Custom</option>
</select>
</div>
<div class="field">
<label>URL</label>
<input type="url" name="wish_url" />