mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add remote control chapter menu
This commit is contained in:
parent
a5ab0b50c6
commit
20836ec2f6
26 changed files with 400 additions and 374 deletions
|
@ -111,16 +111,7 @@
|
|||
nodes.push({ attr: { id: name, rel: 'folder', itemtype: 'livetvservice' }, data: htmlName, state: 'closed' });
|
||||
}
|
||||
|
||||
nodes.push({ attr: { id: 'libraryreport', rel: 'default', itemtype: 'libraryreport' }, data: 'Reports' });
|
||||
|
||||
callback(nodes);
|
||||
|
||||
if (!selectedId) {
|
||||
|
||||
if (window.location.toString().toLowerCase().indexOf('report.html') != -1) {
|
||||
selectedId = 'libraryreport';
|
||||
}
|
||||
}
|
||||
|
||||
if (selectedId && nodes.filter(function (f) {
|
||||
|
||||
|
@ -163,11 +154,6 @@
|
|||
|
||||
var itemtype = node.attr("itemtype");
|
||||
|
||||
if (itemtype == 'libraryreport') {
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (itemtype == 'livetvservice') {
|
||||
|
||||
loadLiveTvChannels(id, openItems, callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue