mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix playback control issues with chromecast
This commit is contained in:
parent
7df0ffcdfc
commit
108e00ac45
5 changed files with 125 additions and 66 deletions
|
@ -1966,13 +1966,17 @@ export default function (view, params) {
|
|||
selectedItem = item;
|
||||
|
||||
apiClient.getCurrentUser().then(function (user) {
|
||||
itemContextMenu.show(getContextMenuOptions(selectedItem, user, button)).then(function (result) {
|
||||
if (result.deleted) {
|
||||
appRouter.goHome();
|
||||
} else if (result.updated) {
|
||||
reload(self, view, params);
|
||||
}
|
||||
});
|
||||
itemContextMenu.show(getContextMenuOptions(selectedItem, user, button))
|
||||
.then(function (result) {
|
||||
if (result.deleted) {
|
||||
appRouter.goHome();
|
||||
} else if (result.updated) {
|
||||
reload(self, view, params);
|
||||
}
|
||||
})
|
||||
.catch(function(err) {
|
||||
console.debug('[index:onMoreCommandsClick] reject', err);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue