fix file deletion
This commit is contained in:
parent
e3adbcb7d5
commit
84bd83b1dc
|
@ -191,9 +191,9 @@ FileList={
|
||||||
if(!FileList.deleteCanceled && FileList.deleteFiles){
|
if(!FileList.deleteCanceled && FileList.deleteFiles){
|
||||||
var fileNames=FileList.deleteFiles.join(';');
|
var fileNames=FileList.deleteFiles.join(';');
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'ajax/delete.php',
|
url: OC.filePath('files', 'ajax', 'delete.php'),
|
||||||
async:!sync,
|
async:!sync,
|
||||||
data: "dir="+$('#dir').val()+"&files="+encodeURIComponent(fileNames),
|
data: {dir:$('#dir').val(),files:fileNames},
|
||||||
complete: function(data){
|
complete: function(data){
|
||||||
boolOperationFinished(data, function(){
|
boolOperationFinished(data, function(){
|
||||||
$('#notification').fadeOut();
|
$('#notification').fadeOut();
|
||||||
|
|
Loading…
Reference in New Issue