summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/EventModalCtrl.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js
index 72214748..cc1902f8 100644
--- a/www/js/EventModalCtrl.js
+++ b/www/js/EventModalCtrl.js
@@ -1902,6 +1902,13 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
if (tempAlarms.length > 1) // don't do it for just one too
$scope.alarm_images = tempAlarms;
+ // add snapshot
+ if (NVR.getSnapshotFrame() == 'snapshot') {
+ $scope.alarm_images.unshift({
+ frameid: 'snapshot',
+ id: 'doesntseemtobeusedhuh'
+ });
+ }
if (data.event.Event.Notes.indexOf('detected:') != -1) {
NVR.debug ("You have object detection! Adding object detect frame");