summaryrefslogtreecommitdiff
path: root/www/js/MontageHistoryCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-10 11:37:32 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-10 11:37:32 -0400
commitda48c504975617bceb9191a06229d5c730f335f8 (patch)
treeb68077efcc1010c73f6fe871b15ee6bcad38b058 /www/js/MontageHistoryCtrl.js
parentbe54fb1534f20ff0cc622ff2e7f8734a5fc22752 (diff)
general cleanup, also object notes tweaks, removed authSession undefined foo
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
-rw-r--r--www/js/MontageHistoryCtrl.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js
index 5cf9892b..6f6687e4 100644
--- a/www/js/MontageHistoryCtrl.js
+++ b/www/js/MontageHistoryCtrl.js
@@ -301,7 +301,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
if (eType=='video') {
var videoURL= $scope.MontageMonitors[j].Monitor.baseURL + "/index.php?view=view_video&eid=" + eid;
- if ($rootScope.authSession != 'undefined') videoURL += $rootScope.authSession;
+ videoURL += $rootScope.authSession;
if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken;
@@ -422,7 +422,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
if (eType=='video') {
var videoURL= $scope.MontageMonitors[i].Monitor.baseURL + "/index.php?view=view_video&eid=" + eid;
- if ($rootScope.authSession != 'undefined') videoURL += $rootScope.authSession;
+ videoURL += $rootScope.authSession;
if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken;
@@ -892,7 +892,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
var videoURL= m.Monitor.baseURL + "/index.php?view=view_video&eid=" + success.eid;
- if ($rootScope.authSession != 'undefined') videoURL += $rootScope.authSession;
+ videoURL += $rootScope.authSession;
if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken;
m.Monitor.videoObject = {