mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added content type selection
This commit is contained in:
parent
cb560ec779
commit
5ffb518fe0
2 changed files with 17 additions and 15 deletions
|
@ -17,7 +17,9 @@
|
|||
Dashboard.showLoadingMsg();
|
||||
|
||||
var promise1 = MetadataEditor.getItemPromise();
|
||||
var promise2 = ApiClient.getJSON(ApiClient.getUrl('Items/' + MetadataEditor.currentItemId + '/MetadataEditor'));
|
||||
var promise2 = MetadataEditor.currentItemId ?
|
||||
ApiClient.getJSON(ApiClient.getUrl('Items/' + MetadataEditor.currentItemId + '/MetadataEditor')) :
|
||||
{};
|
||||
|
||||
$.when(promise1, promise2).done(function (response1, response2) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue