Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-26 15:40:54 +0300
committerGitHub <noreply@github.com>2017-07-26 15:40:54 +0300
commite9c141e3fb89c40b519d609a31bda6682302634a (patch)
treebc5ff00ef18aa4660d76fb70dcecddfa031fef33
parent943e028a926ba829276b8224f81ace793822cc7e (diff)
parent3b751472e1fdb76acc94b51e24a6d37d78c90fb8 (diff)
Merge pull request #303 from nextcloud/stable12_268v12.0.1RC2
Fix link when opening from files
-rw-r--r--js/vendor/nextcloud/share.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/vendor/nextcloud/share.js b/js/vendor/nextcloud/share.js
index 4bd86976..bfc70848 100644
--- a/js/vendor/nextcloud/share.js
+++ b/js/vendor/nextcloud/share.js
@@ -581,7 +581,7 @@
var $linkText = $('#linkText');
var link = parent.location.protocol + '//' + location.host +
- OC.generateUrl('/apps/' + Gallery.appName + '/s/') + token;
+ OC.generateUrl('/apps/gallery/s/') + token;
$linkText.val(link);
$linkText.slideDown(OC.menuSpeed);