mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch to shared image editor
This commit is contained in:
parent
228cefadd8
commit
4c97201a3c
15 changed files with 264 additions and 174 deletions
|
@ -2179,9 +2179,14 @@
|
|||
function editImages() {
|
||||
return new Promise(function (resolve, reject) {
|
||||
|
||||
require(['components/imageeditor/imageeditor'], function (ImageEditor) {
|
||||
require(['imageEditor'], function (imageEditor) {
|
||||
|
||||
ImageEditor.show(currentItem.Id).then(resolve, reject);
|
||||
imageEditor.show({
|
||||
|
||||
itemId: currentItem.Id,
|
||||
serverId: currentItem.ServerId
|
||||
|
||||
}).then(resolve, reject);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue