Fix query params when including auth_relay. Fixes #2261
This commit is contained in:
parent
0d7fe79b27
commit
bb6c045a18
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue