Skip to content
Snippets Groups Projects
Commit 84bd83b1 authored by Robin Appelman's avatar Robin Appelman
Browse files

fix file deletion

parent e3adbcb7
Branches
No related tags found
No related merge requests found
......@@ -191,9 +191,9 @@ FileList={
if(!FileList.deleteCanceled && FileList.deleteFiles){
var fileNames=FileList.deleteFiles.join(';');
$.ajax({
url: 'ajax/delete.php',
url: OC.filePath('files', 'ajax', 'delete.php'),
async:!sync,
data: "dir="+$('#dir').val()+"&files="+encodeURIComponent(fileNames),
data: {dir:$('#dir').val(),files:fileNames},
complete: function(data){
boolOperationFinished(data, function(){
$('#notification').fadeOut();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment