Commit a6437c76 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Popup confirm restitution & destruction

parent d7cb9a9e
......@@ -89,11 +89,11 @@
var res = parameters.messageAction.split("/");
if (res.pop() == "Acknowledge") {
$('#restitutionConfirmationModal').find('.modal-body').html($('#acknowledge_text').html());
$('#confirmationModal').find('.modal-body').html($('#acknowledge_text').html());
} else {
$('#restitutionConfirmationModal').find('.modal-body').html($('#destroy_text').html());
$('#confirmationModal').find('.modal-body').html($('#destroy_text').html());
}
$('#restitutionConfirmationModal').modal();
$('#confirmationModal').modal();
$('#confirmDelete').one('click', function(){
$.ajax({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment