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:
parent
eefd54468d
commit
6814d8e280
4 changed files with 9 additions and 4 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue