kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
merge-requests/237/merge
rodzic
c0aab489c3
commit
ea8559af14
|
@ -2983,8 +2983,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<tr>
|
||||
<td>
|
||||
<label data-i18n="settings.OAMS.simplepush.enable.label" for="msgSimplepush">Enable / Disable Simplepush Message forwarding</label>
|
||||
<input title="Enable / Disable Simplepush" type="checkbox" id="msgSimplepush"
|
||||
onclick="setOamsSimplepush(this);" />
|
||||
<input title="Enable / Disable Simplepush" type="checkbox" checked="false" id="msgSimplepush"
|
||||
onclick="newMessageSetting(this);" />
|
||||
<!-- onclick="setOamsSimplepush(this);" />-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -3005,8 +3006,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<tr>
|
||||
<td>
|
||||
<label data-i18n="settings.OAMS.pushover.enable.label" for="msgPushover">Enable / Disable Pushover Message forwarding</label>
|
||||
<input title="Enable / Disable Pushover" type="checkbox" id="msgPushover"
|
||||
onclick="setOamsPushover(this);" />
|
||||
<input title="Enable / Disable Pushover" type="checkbox" checked="false" id="msgPushover"
|
||||
onclick="newMessageSetting(this);" />
|
||||
<!-- onclick="setOamsPushover(this);" />-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -13024,6 +13024,8 @@ 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;
|
||||
|
@ -16202,4 +16204,4 @@ function refreshSpotsNoTx()
|
|||
}
|
||||
|
||||
nodeTimers.setInterval(refreshSpotsNoTx, 300000);
|
||||
nodeTimers.setTimeout(refreshSpotsNoTx, 300000);
|
||||
nodeTimers.setTimeout(refreshSpotsNoTx, 300000);
|
|
@ -633,8 +633,8 @@ function gtChatMessage(jsmesg)
|
|||
{
|
||||
sendSimplePushMessage(cid, jsmesg);
|
||||
}
|
||||
if (GT.msgSettings.msgPushover && GT.msgSettings.pushoverUsername != null &&
|
||||
GT.msgSettings.pushoverToken != null)
|
||||
if (GT.msgSettings.msgPushover && GT.msgSettings.msgPushoverUsername != null &&
|
||||
GT.msgSettings.msgPushoverToken != null)
|
||||
{
|
||||
sendPushOverMessage(cid, jsmesg);
|
||||
}
|
||||
|
@ -868,4 +868,4 @@ function alertChatMessage()
|
|||
playAlertMediaFile(GT.msgSettings.msgAlertMedia);
|
||||
}
|
||||
GT.lastChatMsgAlert = timeNowSec();
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue