Add auth relay to status ajax request. clear statusTimer instead of streamTimer

This commit is contained in:
Isaac Connor 2021-12-10 16:37:46 -05:00
parent b7b49437b9
commit bfbba5474f
1 changed files with 2 additions and 2 deletions

View File

@ -531,11 +531,11 @@ function getStatusCmdResponse(respObj, respText) {
} }
function statusCmdQuery() { function statusCmdQuery() {
$j.getJSON(monitorUrl + '?view=request&request=status&entity=monitor&element[]=Status&element[]=FrameRate&id='+monitorId) $j.getJSON(monitorUrl + '?view=request&request=status&entity=monitor&element[]=Status&element[]=FrameRate&id='+monitorId+'&'+auth_relay)
.done(getStatusCmdResponse) .done(getStatusCmdResponse)
.fail(logAjaxFail); .fail(logAjaxFail);
streamCmdTimer = null; statusCmdTimer = null;
} }
function alarmCmdReq(data) { function alarmCmdReq(data) {