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

switch to unified notifications

This commit is contained in:
Luke Pulverenti 2016-07-22 13:30:39 -04:00
parent fa438393af
commit cec6b66c27
19 changed files with 200 additions and 514 deletions

View file

@ -783,10 +783,14 @@ define(['appSettings', 'userSettings', 'appStorage', 'datetime'], function (appS
return null;
};
self.displayContent = function (options) {
self.displayContent = function (cmd) {
// Handle it the same as a remote control command
Dashboard.onBrowseCommand(options);
var apiClient = ApiClient;
apiClient.getItem(apiClient.getCurrentUserId(), cmd.ItemId).then(function (item) {
require(['embyRouter'], function (embyRouter) {
embyRouter.showItem(item);
});
});
};
self.getItemsForPlayback = function (query) {