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

update connect error responses

This commit is contained in:
Luke Pulverenti 2016-12-27 02:25:35 -05:00
parent 088e52bc65
commit a5d05d68fe

View file

@ -12,8 +12,7 @@
var id = 'chkGroupFolder' + i.Id; var id = 'chkGroupFolder' + i.Id;
var isChecked = (user.Configuration.ExcludeFoldersFromGrouping != null && user.Configuration.ExcludeFoldersFromGrouping.indexOf(i.Id) == -1) || var isChecked = user.Configuration.GroupedFolders.indexOf(i.Id) != -1;
user.Configuration.GroupedFolders.indexOf(i.Id) != -1;
var checkedHtml = isChecked ? ' checked="checked"' : ''; var checkedHtml = isChecked ? ' checked="checked"' : '';
@ -166,8 +165,6 @@
return i.getAttribute('data-folderid'); return i.getAttribute('data-folderid');
}); });
user.Configuration.ExcludeFoldersFromGrouping = null;
user.Configuration.GroupedFolders = getCheckboxItems(".chkGroupFolder", page, true).map(function (i) { user.Configuration.GroupedFolders = getCheckboxItems(".chkGroupFolder", page, true).map(function (i) {
return i.getAttribute('data-folderid'); return i.getAttribute('data-folderid');