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

update components

This commit is contained in:
Luke Pulverenti 2015-08-10 20:14:15 -04:00
parent fa050a3b08
commit f6b3dd3b16
10 changed files with 103 additions and 28 deletions

View file

@ -2,14 +2,14 @@
function loadForm(page, user) {
page.querySelector('.chkSyncToExternalCard').checked = AppSettings.enableSyncToExternalStorage();
page.querySelector('#txtSyncPath').value = AppSettings.syncPath();
Dashboard.hideLoadingMsg();
}
function saveUser(page, user) {
AppSettings.enableSyncToExternalStorage(page.querySelector('.chkSyncToExternalCard').checked);
AppSettings.syncPath(page.querySelector('#txtSyncPath').value);
Dashboard.hideLoadingMsg();
Dashboard.alert(Globalize.translate('SettingsSaved'));
}