Remove wish types
This commit is contained in:
parent
7292caecf4
commit
0b2e8889d3
3 changed files with 0 additions and 12 deletions
|
@ -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'] . '"
|
||||
)
|
||||
;');
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in a new issue