Fixed download URL in public page

This commit is contained in:
Vincent Petry 2014-05-20 13:24:52 +02:00
parent 40fc1d5b4b
commit 160a2bc36f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}