From 6615fdcab69470caf3dcdcf604d9c1c556db03fe Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 17 Dec 2019 13:21:08 -0500 Subject: #876 more logical naming --- www/js/EventCtrl.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'www/js/EventCtrl.js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 967c80d0..9f6277e4 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -980,8 +980,8 @@ angular.module('zmApp.controllers') - $scope.imgsrc += NVR.insertBasicAuthToken(); - $scope.fallbackImgSrc += NVR.insertBasicAuthToken(); + $scope.imgsrc += NVR.insertSpecialTokens(); + $scope.fallbackImgSrc += NVR.insertSpecialTokens(); @@ -2318,7 +2318,7 @@ angular.module('zmApp.controllers') videoURL = event.Event.recordingURL + "/index.php?view=view_video&eid=" + event.Event.Id; videoURL += $rootScope.authSession; - videoURL += NVR.insertBasicAuthToken(); + videoURL += NVR.insertSpecialTokens(); // console.log("************** VIDEO IS " + videoURL); @@ -2986,7 +2986,7 @@ angular.module('zmApp.controllers') "&height=" + event.Event.thumbHeight * 2; stream += $rootScope.authSession; - stream += NVR.insertBasicAuthToken(); + stream += NVR.insertSpecialTokens(); return stream; }; @@ -3000,7 +3000,7 @@ angular.module('zmApp.controllers') stream += $rootScope.authSession; - stream += NVR.insertBasicAuthToken(); + stream += NVR.insertSpecialTokens(); return stream; @@ -3014,7 +3014,7 @@ angular.module('zmApp.controllers') "/index.php?view=image&fid=" + alarm.id; if (motion) stream += $scope.outlineMotionParam; stream += $rootScope.authSession; - stream += NVR.insertBasicAuthToken(); + stream += NVR.insertSpecialTokens(); // console.log ("alarm:"+stream); return stream; -- cgit v1.2.3