diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-04-22 10:49:37 -0400 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-04-22 10:49:37 -0400 |
| commit | 131a884c62a2b3f8ded64c4e8ce564e7691e1ea1 (patch) | |
| tree | 4350f3f43d0b1982c334646b608ff9bc2234d364 /www/js/TimelineModalCtrl.js | |
| parent | 2b9bd8037a0533f55cc37e35852263732f37f771 (diff) | |
zero out alarm array on modal shown to avoid split second display of junk
Former-commit-id: 3ca709f50e4abf31fb91bc1e499a13f5062f97ec
Diffstat (limited to 'www/js/TimelineModalCtrl.js')
| -rw-r--r-- | www/js/TimelineModalCtrl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/TimelineModalCtrl.js b/www/js/TimelineModalCtrl.js index 139493ec..70bd733d 100644 --- a/www/js/TimelineModalCtrl.js +++ b/www/js/TimelineModalCtrl.js @@ -151,6 +151,7 @@ angular.module('zmApp.controllers').controller('TimelineModalCtrl', ['$scope', ' if (m.id != 'analyze') return; + $scope.alarm_images=[]; $scope.graphWidth=$rootScope.devWidth-30; ZMDataModel.zmLog ("Setting init graph width to " + $scope.graphWidth); $scope.dataReady = false; |
