diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 21:41:21 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-28 21:41:21 +0200 |
commit | c9317b5a68baac268e8b24a462065a5e9e3164e7 (patch) | |
tree | d695547b8901cc2070368982a12a0e6579cf255c /apps | |
parent | bf1057143cdff8ec289d9d766ab100d64d7ea45d (diff) | |
parent | fed34aecfa5b36c031ed754ed245549aa4a4194b (diff) | |
download | nextcloud-server-c9317b5a68baac268e8b24a462065a5e9e3164e7.tar.gz nextcloud-server-c9317b5a68baac268e8b24a462065a5e9e3164e7.zip |
Merge branch 'master' into routing
Diffstat (limited to 'apps')
-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 ba80c3043b8..0cf4a052225 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()); }); }); |