the acceptance now works need to do the ignores and unfriend bucket
This commit is contained in:
parent
b1dcc4cf43
commit
9b07c780c3
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ $(function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "DELETE",
|
type: "DELETE",
|
||||||
url: "/requests/" + ui.draggable[0].getAttribute('request_id') ,
|
url: "/requests/" + ui.draggable[0].getAttribute('request_id') ,
|
||||||
data: {"accept" : {"group_id" : $(this)[0].id }}
|
data: {"accept" : true , "group_id" : $(this)[0].id }
|
||||||
});
|
});
|
||||||
alert("Sent the ajax, check it out!")
|
alert("Sent the ajax, check it out!")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue