diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-29 16:09:41 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-29 16:09:41 +0200 |
commit | 84bd83b1dcbafa109517bc1365fde35d411ed634 (patch) | |
tree | 0710b9bb72744152f5e5197b2a7b1bd69581e2f5 /apps/files/js | |
parent | e3adbcb7d58d06c2bac8d925930d2deb2ed563ea (diff) | |
download | nextcloud-server-84bd83b1dcbafa109517bc1365fde35d411ed634.tar.gz nextcloud-server-84bd83b1dcbafa109517bc1365fde35d411ed634.zip |
fix file deletion
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index febdfc473b1..31fb5f892e4 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -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(); |