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-08-18 14:20:09 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-18 14:20:09 +0300
commit8a002c4633c896c531d60d4042fe5276172bb157 (patch)
tree09b2b2ca78d2b6ec8ce820aed56a9475da861690 /js/galleryfileaction.js
parent1984a48d50234bdb7deca31b78a12a6f2ce6407c (diff)
Send the proper argument to get extra media types
Fixes #271
Diffstat (limited to 'js/galleryfileaction.js')
-rw-r--r--js/galleryfileaction.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/galleryfileaction.js b/js/galleryfileaction.js
index 04264063..314d2e10 100644
--- a/js/galleryfileaction.js
+++ b/js/galleryfileaction.js
@@ -170,7 +170,7 @@ $(document).ready(function () {
// Retrieve the config as well as the list of supported media types.
// The list of media files is retrieved when the user clicks on a row
- var url = window.galleryFileAction.buildGalleryUrl('config', '', {slideshow: 1});
+ var url = window.galleryFileAction.buildGalleryUrl('config', '', {extramediatypes: 1});
$.getJSON(url).then(function (config) {
if (!$.isEmptyObject(config.features)) {
window.galleryFileAction.config = config.features;