diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-05-20 13:24:52 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-20 13:24:52 +0200 |
commit | 160a2bc36fa99f02d74c4e190fa75f6f3b02f4e2 (patch) | |
tree | 0ddb5d474b75796b6f405b5eb4e276882b058f7d /apps | |
parent | 40fc1d5b4b3b05b9d2e036f3d853668a38b0e0c2 (diff) | |
download | nextcloud-server-160a2bc36fa99f02d74c4e190fa75f6f3b02f4e2.tar.gz nextcloud-server-160a2bc36fa99f02d74c4e190fa75f6f3b02f4e2.zip |
Fixed download URL in public page
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 b9cd9816d4c..2edb45f544c 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -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); } |