summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 666f7c7f..b291516c 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -3183,7 +3183,7 @@ angular.module('zmApp.controllers')
return stream;
- }
+ };
$scope.constructAlarmFrame = function(event, alarm, motion) {
var stream = "";
@@ -3195,8 +3195,7 @@ angular.module('zmApp.controllers')
}
else if (event.Event.imageMode=='path') {
- st
- ream = event.Event.baseURL+
+ stream = event.Event.baseURL+
"/index.php?view=image&path=" +event.Event.relativePath +
motion? alarm.aname:alarm.fname +
"&height=380";