diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-26 17:35:12 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-26 17:35:12 +0200 |
commit | 0249a72caba9f1a4eeaf51f382a74fe61b66c284 (patch) | |
tree | bb272c3dbe57b3b2ec0bcb648fb3461668aa20c7 /apps/files/js/fileactions.js | |
parent | ebd82ee772ee32dc6fda37c377106f19a30922bf (diff) | |
download | nextcloud-server-0249a72caba9f1a4eeaf51f382a74fe61b66c284.tar.gz nextcloud-server-0249a72caba9f1a4eeaf51f382a74fe61b66c284.zip |
fix downloading of files in files app
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 80e918a455c..fc6c99262ef 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -135,7 +135,7 @@ $(document).ready(function(){ var downloadScope = 'file'; } FileActions.register(downloadScope,'Download',function(){return OC.imagePath('core','actions/download')},function(filename){ - window.location='ajax/download.php?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val()); + window.location=OC.filePath('files', 'ajax', 'download.php?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val())); }); }); |