mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
need to send it without data
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user