fixed storing attributes

merge-requests/237/merge
Christian Bayer 2023-08-29 23:12:33 -04:00
rodzic 8b67e8cb36
commit 086d2c56ba
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 090D0F8B431A7C88
1 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -10679,12 +10679,14 @@ function setOamsBandActivityNeighbors(checkbox)
function setOamsSimplepush(checkbox)
{
GT.appSettings.msgSimplepush = checkbox.checked;
GT.msgSettings.msgSimplepush = checkbox.checked;
localStorage.msgSettings = JSON.stringify(GT.msgSettings);
}
function setOamsPushover(checkbox)
{
GT.appSettings.msgPushover = checkbox.checked;
GT.msgSettings.msgPushover = checkbox.checked;
localStorage.msgSettings = JSON.stringify(GT.msgSettings);
}
function setMsgEnable(checkbox)
@ -13024,8 +13026,6 @@ function loadViewSettings()
function loadMsgSettings()
{
msgEnable.checked = GT.appSettings.gtMsgEnable;
msgSimplepush.checked = GT.appSettings.msgSimplepush;
msgPushover.checked = GT.appSettings.msgPushover;
GTspotEnable.checked = GT.appSettings.gtSpotEnable;
oamsBandActivity.checked = GT.appSettings.oamsBandActivity;
@ -13038,6 +13038,9 @@ function loadMsgSettings()
{
document.getElementById(key).value = GT.msgSettings[key];
}
msgSimplepush.checked = GT.msgSettings.msgSimplepush;
msgPushover.checked = GT.msgSettings.msgPushover;
ValidateText(msgAwayText);
setMsgSettingsView();
}