From 9ea9b63367eec0e6a353cc4efd7575a62f6b6230 Mon Sep 17 00:00:00 2001 From: "Jalpreet Singh Nanda (imjalpreet)" Date: Sat, 5 Mar 2016 19:25:54 +0100 Subject: [PATCH] [9.0] Issue #554: Shared Albums can now be downloaded via shared link (cherry picked from commit 6e23f43) --- js/galleryutility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/galleryutility.js b/js/galleryutility.js index 4cb93077fd..a7b2aae7e1 100644 --- a/js/galleryutility.js +++ b/js/galleryutility.js @@ -170,7 +170,7 @@ window.Gallery = window.Gallery || {}; if (Gallery.token) { params.token = Gallery.token; - subUrl = 's/{token}/download?path={path}&files={files}'; + subUrl = 's/{token}/download?dir={path}&files={files}'; } else { subUrl = 'apps/files/ajax/download.php?dir={path}&files={files}'; }