mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
keep season/episode info up to date
This commit is contained in:
parent
40685119d8
commit
5584c5c7e3
1 changed files with 12 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
||||||
define(['appStorage', 'jQuery', 'listView'], function (appStorage, $, listView) {
|
define(['jQuery', 'listView'], function ($, listView) {
|
||||||
|
|
||||||
var data = {};
|
var data = {};
|
||||||
function getPageData() {
|
function getPageData() {
|
||||||
|
@ -56,22 +56,17 @@
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var view = getPageData().view;
|
html += listView.getListViewHtml({
|
||||||
|
items: result.Items,
|
||||||
if (view == "List") {
|
sortBy: query.SortBy,
|
||||||
|
showIndex: false,
|
||||||
html = listView.getListViewHtml({
|
showRemoveFromPlaylist: true,
|
||||||
items: result.Items,
|
playFromHere: true,
|
||||||
sortBy: query.SortBy,
|
action: 'playallfromhere',
|
||||||
showIndex: false,
|
smallIcon: true,
|
||||||
showRemoveFromPlaylist: true,
|
dragHandle: true,
|
||||||
playFromHere: true,
|
playlistId: item.Id
|
||||||
action: 'playallfromhere',
|
});
|
||||||
smallIcon: true,
|
|
||||||
dragHandle: true,
|
|
||||||
playlistId: item.Id
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
var elem = page.querySelector('#childrenContent .itemsContainer');
|
var elem = page.querySelector('#childrenContent .itemsContainer');
|
||||||
elem.innerHTML = html;
|
elem.innerHTML = html;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue