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

update components

This commit is contained in:
Luke Pulverenti 2016-04-28 00:53:11 -04:00
parent acb094fa46
commit 59ede5b1e6
7 changed files with 52 additions and 34 deletions

View file

@ -20,9 +20,11 @@
});
}
function showMenu(apiClient, itemId) {
function showMenu(options) {
loading.show();
var itemId = options.itemId;
var apiClient = options.apiClient || connectionManager.getApiClient(options.serverId);
var userId = apiClient.getCurrentUserId();
return apiClient.getItem(userId, itemId).then(function () {