debug when no data.frames

This commit is contained in:
Isaac Connor 2022-02-08 11:21:56 -05:00
parent 390d77a924
commit b005927ea3
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ function setAlarmCues(data) {
} else if (!data.frames) { } else if (!data.frames) {
Error('No data.frames in setAlarmCues for event ' + eventData.Id); Error('No data.frames in setAlarmCues for event ' + eventData.Id);
} else { } else {
console.log(data);
cueFrames = data.frames; cueFrames = data.frames;
alarmSpans = renderAlarmCues(vid ? $j("#videoobj") : $j("#evtStream"));//use videojs width or zms width alarmSpans = renderAlarmCues(vid ? $j("#videoobj") : $j("#evtStream"));//use videojs width or zms width
$j(".alarmCue").html(alarmSpans); $j(".alarmCue").html(alarmSpans);