kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
fixed storing attributes
rodzic
8b67e8cb36
commit
086d2c56ba
|
@ -10679,12 +10679,14 @@ function setOamsBandActivityNeighbors(checkbox)
|
||||||
|
|
||||||
function setOamsSimplepush(checkbox)
|
function setOamsSimplepush(checkbox)
|
||||||
{
|
{
|
||||||
GT.appSettings.msgSimplepush = checkbox.checked;
|
GT.msgSettings.msgSimplepush = checkbox.checked;
|
||||||
|
localStorage.msgSettings = JSON.stringify(GT.msgSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
function setOamsPushover(checkbox)
|
function setOamsPushover(checkbox)
|
||||||
{
|
{
|
||||||
GT.appSettings.msgPushover = checkbox.checked;
|
GT.msgSettings.msgPushover = checkbox.checked;
|
||||||
|
localStorage.msgSettings = JSON.stringify(GT.msgSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
function setMsgEnable(checkbox)
|
function setMsgEnable(checkbox)
|
||||||
|
@ -13024,8 +13026,6 @@ function loadViewSettings()
|
||||||
function loadMsgSettings()
|
function loadMsgSettings()
|
||||||
{
|
{
|
||||||
msgEnable.checked = GT.appSettings.gtMsgEnable;
|
msgEnable.checked = GT.appSettings.gtMsgEnable;
|
||||||
msgSimplepush.checked = GT.appSettings.msgSimplepush;
|
|
||||||
msgPushover.checked = GT.appSettings.msgPushover;
|
|
||||||
GTspotEnable.checked = GT.appSettings.gtSpotEnable;
|
GTspotEnable.checked = GT.appSettings.gtSpotEnable;
|
||||||
|
|
||||||
oamsBandActivity.checked = GT.appSettings.oamsBandActivity;
|
oamsBandActivity.checked = GT.appSettings.oamsBandActivity;
|
||||||
|
@ -13038,6 +13038,9 @@ function loadMsgSettings()
|
||||||
{
|
{
|
||||||
document.getElementById(key).value = GT.msgSettings[key];
|
document.getElementById(key).value = GT.msgSettings[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msgSimplepush.checked = GT.msgSettings.msgSimplepush;
|
||||||
|
msgPushover.checked = GT.msgSettings.msgPushover;
|
||||||
ValidateText(msgAwayText);
|
ValidateText(msgAwayText);
|
||||||
setMsgSettingsView();
|
setMsgSettingsView();
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue