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-12-15 22:39:51 -05:00
parent d61fcea76c
commit cbaac63619
4 changed files with 19 additions and 15 deletions

View file

@ -412,11 +412,17 @@ define(['playbackManager', 'inputManager', 'connectionManager', 'embyRouter', 'g
}
}
function getShortcutAttributesHtml(item) {
return 'data-id="' + item.Id + '" data-serverid="' + item.ServerId + '" data-type="' + item.Type + '" data-mediatype="' + item.MediaType + '" data-channelid="' + item.ChannelId + '" data-isfolder="' + item.IsFolder + '"';
}
return {
on: on,
off: off,
onClick: onClick,
showContextMenu: showContextMenu
showContextMenu: showContextMenu,
getShortcutAttributesHtml: getShortcutAttributesHtml
};
});