summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-28 17:03:00 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-28 21:18:20 +0200
commit4e2f575938f565f8589919bece6f6da3c313eb4d (patch)
tree9674f6d682dc104a62fd0b77bf42a1604fb3c36f /apps
parentcfc98398120065d33659f36573f81bcea9a3e97d (diff)
downloadnextcloud-server-4e2f575938f565f8589919bece6f6da3c313eb4d.tar.gz
nextcloud-server-4e2f575938f565f8589919bece6f6da3c313eb4d.zip
Correctly fix oc-1016 and fix downloading of files
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index f579d8530ed..e184cbfa915 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -157,7 +157,7 @@ $(document).ready(function(){
var downloadScope = 'file';
}
FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download');},function(filename){
- window.location=OC.filePath('files', 'ajax', 'download.php') + encodeURIComponent('?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val()));
+ window.location=OC.filePath('files', 'ajax', 'download.php') + '&files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val());
});
});