need to send it without data

This commit is contained in:
ilya 2010-09-12 22:10:50 -07:00
parent d80ba7ca58
commit 3bd686143f

View file

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