1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update image uploader

This commit is contained in:
Luke Pulverenti 2016-02-06 15:32:14 -05:00
parent eefd54468d
commit 6814d8e280
4 changed files with 9 additions and 4 deletions

View file

@ -206,11 +206,14 @@
$('.btnOpenUploadMenu', page).on('click', function () {
var imageType = this.getAttribute('data-imagetype');
require(['components/imageuploader/imageuploader'], function (imageUploader) {
imageUploader.show(currentItem.Id, {
theme: options.theme
theme: options.theme,
imageType: imageType
}).then(function (hasChanged) {