This commit is contained in:
Andrew Bauer 2020-12-22 19:07:12 -06:00
parent cc5a732103
commit a9b92905ca
1 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,7 @@ function createEventHtml(zm_event, frame) {
function showEventDetail(eventHtml) { function showEventDetail(eventHtml) {
$j('#instruction').addClass('hidden'); $j('#instruction').addClass('hidden');
$j('#eventData').empty().append(eventHtml).removeClass('hidden');; $j('#eventData').empty().append(eventHtml).removeClass('hidden');
} }
function eventDataResponse(respObj, respText) { function eventDataResponse(respObj, respText) {
@ -77,7 +77,6 @@ function showEventData(eventId, frameId) {
if ( zm_event['frames'][frameId] ) { if ( zm_event['frames'][frameId] ) {
showEventDetail( zm_event['frames'][frameId]['html'] ); showEventDetail( zm_event['frames'][frameId]['html'] );
var imagePath = 'index.php?view=image&eid='+eventId+'&fid='+frameId; var imagePath = 'index.php?view=image&eid='+eventId+'&fid='+frameId;
var videoName = zm_event.DefaultVideo;
loadEventImage(imagePath, eventId, frameId); loadEventImage(imagePath, eventId, frameId);
return; return;
} else { } else {