Verified Commit 4f46ae44 authored by Alexis Ragot's avatar Alexis Ragot
Browse files

Fixed CSRF error on waterfall ajax

parent 3a329617
......@@ -312,16 +312,17 @@
$("#retentionRuleFinalDisposition").prop("disabled",false);
$("#checkboxUpdateFinalDisposition").prop("checked",false);
ModificationModal.close();
ModificationModal.modal.one('hidden.bs.modal', function () {
//$('#modificationModal').modal();*
$('#archive_search').click();
});
}
},
error : function(response) {
gritter.show(response.responseJSON.message, response.responseJSON.status, response.responseJSON.errors);
}
},
complete : function(response) {
if (response.status) {
$('#archive_search').click();
}
},
});
},
......
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