VRFS-1729 added JS function to support RSVP approve/decline on Session Details screen

This commit is contained in:
Brian Smith 2014-06-29 17:35:18 -04:00
parent 156095f3c8
commit bf6bf3ac98
1 changed files with 10 additions and 0 deletions

View File

@ -206,6 +206,16 @@
});
}
function updateRsvpRequest(rsvpRequestId, responses) {
return $.ajax({
url: '/api/rsvp_requests/' + rsvpRequestId,
type: "POST",
data : responses,
dataType : 'json',
contentType: 'application/json'
});
}
function cancelRsvpRequest(sessionId, rsvpRequestId, cancelAll) {
var cancel = "yes";
if (cancelAll) {