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

update tv config

This commit is contained in:
Luke Pulverenti 2015-07-25 16:41:29 -04:00
parent 66d87717d9
commit 74fad00abe
37 changed files with 1783 additions and 71 deletions

View file

@ -2,8 +2,8 @@
function reload(page, providerId) {
$('#txtDevicePath', page).val('');
$('#chkFavorite', page).checked(false).checkboxradio('refresh');
page.querySelector('.txtDevicePath').value = '';
page.querySelector('.chkFavorite').checked = false;
if (providerId) {
ApiClient.getNamedConfiguration("livetv").done(function (config) {
@ -12,8 +12,8 @@
return i.Id == providerId;
})[0];
$('#txtDevicePath', page).val(info.Url || '');
$('#chkFavorite', page).checked(info.ImportFavoritesOnly).checkboxradio('refresh');
page.querySelector('.txtDevicePath').value = info.Url || '';
page.querySelector('.chkFavorite').checked = info.ImportFavoritesOnly;
});
}
@ -25,8 +25,8 @@
var info = {
Type: 'hdhomerun',
Url: $('#txtDevicePath', page).val(),
ImportFavoritesOnly: $('#chkFavorite', page).checked()
Url: page.querySelector('.txtDevicePath').value,
ImportFavoritesOnly: page.querySelector('.chkFavorite').checked
};
var id = getParameterByName('id');