need to send it without data
This commit is contained in:
parent
d80ba7ca58
commit
3bd686143f
1 changed files with 1 additions and 2 deletions
|
|
@ -46,8 +46,7 @@ $(function() {
|
|||
if (ui.draggable[0].getAttribute('request_id') != null){
|
||||
$.ajax({
|
||||
type: "DELETE",
|
||||
url: "/requests/" + ui.draggable[0].getAttribute('request_id') ,
|
||||
data: {"accept" : false }
|
||||
url: "/requests/" + ui.draggable[0].getAttribute('request_id')
|
||||
});
|
||||
alert("Removed Request, proably want an undo countdown.")
|
||||
$(ui.draggable[0]).fadeOut('slow')
|
||||
|
|
|
|||
Loading…
Reference in a new issue