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

update slider

This commit is contained in:
Luke Pulverenti 2016-11-05 13:39:12 -04:00
parent fab42af1a5
commit 69b1b7e164
13 changed files with 58 additions and 31 deletions

View file

@ -36,8 +36,20 @@
var folderHtml = '';
folderHtml += '<div class="checkboxList">';
var excludeViewTypes = ['playlists', 'livetv', 'boxsets', 'channels'];
var excludeItemTypes = ['Channel'];
folderHtml += result.Items.map(function (i) {
if (excludeViewTypes.indexOf(i.CollectionType || []) !== -1) {
return '';
}
// not implemented yet
if (excludeItemTypes.indexOf(i.Type) !== -1) {
return '';
}
var currentHtml = '';
var id = 'chkIncludeInLatest' + i.Id;