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:
parent
fa438393af
commit
cec6b66c27
19 changed files with 200 additions and 514 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue