summaryrefslogtreecommitdiff
path: root/www/js/TimelineCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-14 15:12:20 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-14 15:12:20 -0400
commit7e6d5602ad08bc7f0054de92ca82768208c48d6b (patch)
tree343d1b35dc3fdaa51742ae2203fc82398dc5fe4d /www/js/TimelineCtrl.js
parent4daf69b94336ee8a89679f285d9e925cbaa43935 (diff)
#611 #606 - many re-auth leaks
Diffstat (limited to 'www/js/TimelineCtrl.js')
-rw-r--r--www/js/TimelineCtrl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js
index 9e11fee7..d689ec4f 100644
--- a/www/js/TimelineCtrl.js
+++ b/www/js/TimelineCtrl.js
@@ -283,7 +283,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla
}
- var tzu = $rootScope.$on('tz-updated', function()
+ var tzu = $scope.$on('tz-updated', function()
{
$scope.tzAbbr = NVRDataModel.getTimeZoneNow();
NVRDataModel.debug("Timezone API updated timezone to " + NVRDataModel.getTimeZoneNow());
@@ -300,7 +300,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla
NVRDataModel.debug ("Timeline: Deregistering broadcast handles");
for (var i=0; i < broadcastHandles.length; i++) {
- broadcastHandles[i]();
+ // broadcastHandles[i]();
}
broadcastHandles = [];