[Pkg-owncloud-commits] [owncloud] 92/153: Fixed download URL in public page

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 160a2bc36fa99f02d74c4e190fa75f6f3b02f4e2
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Tue May 20 13:24:52 2014 +0200

    Fixed download URL in public page
---
 apps/files/js/fileactions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index b9cd981..2edb45f 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);
 				}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list