Merge pull request #75 - Saas relder csrf delete file
This commit is contained in:
parent
53dc92b204
commit
fd39db2e24
2 changed files with 22 additions and 5 deletions
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue