Merge pull request #75 - Saas relder csrf delete file

This commit is contained in:
Albert Santoni 2014-10-29 17:55:42 -04:00
parent 53dc92b204
commit fd39db2e24
2 changed files with 22 additions and 5 deletions

View file

@ -89,7 +89,7 @@ $(document).ready(function() {
$.ajax({
type: 'DELETE',
url: '/rest/media/' + file.id,
url: 'rest/media/' + file.id + "?csrf_token=" + $("#csrf").attr('value'),
success: function(resp) {
self.recentUploadsTable.fnDraw();
},