Fix eslint warnings
This commit is contained in:
parent
cdb8e056b6
commit
dfb65d23bf
|
@ -201,8 +201,9 @@ function changeReplayMode() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var streamParms = "view=request&request=stream&connkey="+connKey;
|
var streamParms = "view=request&request=stream&connkey="+connKey;
|
||||||
if ( auth_hash )
|
if ( auth_hash ) {
|
||||||
streamParms += '&auth='+auth_hash;
|
streamParms += '&auth='+auth_hash;
|
||||||
|
}
|
||||||
var streamCmdTimer = null;
|
var streamCmdTimer = null;
|
||||||
|
|
||||||
var streamStatus = null;
|
var streamStatus = null;
|
||||||
|
@ -312,7 +313,6 @@ function playClicked( ) {
|
||||||
vjsPlay(); //handles fast forward and rewind
|
vjsPlay(); //handles fast forward and rewind
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("sending"+streamParms+"&command="+CMD_PLAY);
|
|
||||||
streamReq.send(streamParms+"&command="+CMD_PLAY);
|
streamReq.send(streamParms+"&command="+CMD_PLAY);
|
||||||
streamPlay();
|
streamPlay();
|
||||||
}
|
}
|
||||||
|
@ -600,8 +600,9 @@ var eventReq = new Request.JSON( {url: thisUrl, method: 'get', timeout: AJAX_TIM
|
||||||
|
|
||||||
function eventQuery( eventId ) {
|
function eventQuery( eventId ) {
|
||||||
var eventParms = "view=request&request=status&entity=event&id="+eventId;
|
var eventParms = "view=request&request=status&entity=event&id="+eventId;
|
||||||
if ( auth_hash )
|
if ( auth_hash ) {
|
||||||
eventParms += '&auth='+auth_hash;
|
eventParms += '&auth='+auth_hash;
|
||||||
|
}
|
||||||
eventReq.send( eventParms );
|
eventReq.send( eventParms );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -902,8 +903,9 @@ var actReq = new Request.JSON( {url: thisUrl, method: 'get', timeout: AJAX_TIMEO
|
||||||
|
|
||||||
function actQuery(action, parms) {
|
function actQuery(action, parms) {
|
||||||
var actParms = "view=request&request=event&id="+eventData.Id+"&action="+action;
|
var actParms = "view=request&request=event&id="+eventData.Id+"&action="+action;
|
||||||
if ( auth_hash )
|
if ( auth_hash ) {
|
||||||
actParms += '&auth='+auth_hash;
|
actParms += '&auth='+auth_hash;
|
||||||
|
}
|
||||||
if ( parms != null ) {
|
if ( parms != null ) {
|
||||||
actParms += "&"+Object.toQueryString(parms);
|
actParms += "&"+Object.toQueryString(parms);
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,6 @@ function getImageSource(monId, time) {
|
||||||
} else {
|
} else {
|
||||||
frame_id = Frame.FrameId;
|
frame_id = Frame.FrameId;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
frame_id = Frame.FrameId;
|
frame_id = Frame.FrameId;
|
||||||
console.log("No NextFrame");
|
console.log("No NextFrame");
|
||||||
|
|
Loading…
Reference in New Issue