mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update forms
This commit is contained in:
parent
acefeed732
commit
3e3a7b12d6
8 changed files with 39 additions and 26 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
function loadForm(page, user) {
|
||||
|
||||
page.querySelector('#txtSyncPath').value = appSettings.syncPath();
|
||||
page.querySelector('#txtSyncPath').value = appSettings.syncPath() || '';
|
||||
page.querySelector('#chkWifi').checked = appSettings.syncOnlyOnWifi();
|
||||
|
||||
var uploadServers = appSettings.cameraUploadServers();
|
||||
|
@ -10,7 +10,7 @@
|
|||
page.querySelector('.uploadServerList').innerHTML = ConnectionManager.getSavedServers().map(function (s) {
|
||||
|
||||
var checkedHtml = uploadServers.indexOf(s.Id) == -1 ? '' : ' checked';
|
||||
var html = '<paper-checkbox' + checkedHtml + ' class="chkUploadServer" data-id="' + s.Id + '">' + s.Name + '</paper-checkbox>';
|
||||
var html = '<label><input type="checkbox" is="emby-checkbox"' + checkedHtml + ' class="chkUploadServer" data-id="' + s.Id + '"/><span>' + s.Name + '</span></label>';
|
||||
|
||||
return html;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue