From 131a884c62a2b3f8ded64c4e8ce564e7691e1ea1 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Fri, 22 Apr 2016 10:49:37 -0400 Subject: zero out alarm array on modal shown to avoid split second display of junk Former-commit-id: 3ca709f50e4abf31fb91bc1e499a13f5062f97ec --- www/js/TimelineModalCtrl.js | 1 + 1 file changed, 1 insertion(+) (limited to 'www/js/TimelineModalCtrl.js') 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; -- cgit v1.2.3