debug when no data.frames
This commit is contained in:
parent
390d77a924
commit
b005927ea3
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue