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:
authorOlivier Paroz <github@oparoz.com>2015-04-10 21:52:47 +0300
committerOlivier Paroz <github@oparoz.com>2015-04-10 21:52:47 +0300
commit73fefeb4b2138d4e79112192692901dcfa895997 (patch)
tree28d040f7c0eeff2a9de24d8fcfd1f8d25f0f3ff6 /js/gallerybutton.js
parentebdb5004dade24cfd7af914d525f3c46302fc955 (diff)
Update URL building methods
Diffstat (limited to 'js/gallerybutton.js')
-rw-r--r--js/gallerybutton.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gallerybutton.js b/js/gallerybutton.js
index e6d7dd90..966cb602 100644
--- a/js/gallerybutton.js
+++ b/js/gallerybutton.js
@@ -17,7 +17,7 @@ GalleryButton.onFileListUpdated = function () {
}
files = fileList.files;
- GalleryButton.buildUrl(fileList.getCurrentDirectory().replace(/^\//, ''));
+ GalleryButton.buildGalleryUrl(fileList.getCurrentDirectory().replace(/^\//, ''));
for (var i = 0; i < files.length; i++) {
var file = files[i];
@@ -32,7 +32,7 @@ GalleryButton.onFileListUpdated = function () {
}
};
-GalleryButton.buildUrl = function (dir) {
+GalleryButton.buildGalleryUrl = function (dir) {
var params = {};
var tokenPath = '';
var token = ($('#sharingToken').val()) ? $('#sharingToken').val() : false;