Fix query params when including auth_relay. Fixes #2261

This commit is contained in:
Isaac Connor 2021-05-11 17:25:04 -04:00
parent 0d7fe79b27
commit bb6c045a18
1 changed files with 4 additions and 4 deletions

View File

@ -458,22 +458,22 @@ function getAlarmCmdResponse(respObj, respText) {
}
function cmdDisableAlarms() {
alarmCmdReq.send(alarmCmdParms+auth_relay+"&command=disableAlarms");
alarmCmdReq.send(alarmCmdParms+'&'+auth_relay+"&command=disableAlarms");
}
function cmdEnableAlarms() {
alarmCmdReq.send(alarmCmdParms+auth_relay+"&command=enableAlarms");
alarmCmdReq.send(alarmCmdParms+'&'+auth_relay+"&command=enableAlarms");
}
function cmdForceAlarm() {
alarmCmdReq.send(alarmCmdParms+auth_relay+"&command=forceAlarm");
alarmCmdReq.send(alarmCmdParms+'&'+auth_relay+"&command=forceAlarm");
if ( window.event ) {
window.event.preventDefault();
}
}
function cmdCancelForcedAlarm() {
alarmCmdReq.send(alarmCmdParms+auth_relay+"&command=cancelForcedAlarm");
alarmCmdReq.send(alarmCmdParms+'&'+auth_relay+"&command=cancelForcedAlarm");
if ( window.event ) {
window.event.preventDefault();
}