Skip to content
Snippets Groups Projects
Commit 160a2bc3 authored by Vincent Petry's avatar Vincent Petry
Browse files

Fixed download URL in public page

parent 40fc1d5b
No related branches found
No related tags found
No related merge requests found
......@@ -244,7 +244,7 @@
this.register(downloadScope, 'Download', OC.PERMISSION_READ, function () {
return OC.imagePath('core', 'actions/download');
}, function (filename) {
var url = OCA.Files.Files.getDownloadUrl(filename, fileList.getCurrentDirectory());
var url = fileList.getDownloadUrl(filename, fileList.getCurrentDirectory());
if (url) {
OC.redirect(url);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment