diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-12 08:45:34 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-12 08:45:34 -0400 |
| commit | 2cc5aa1508342e18a61f96d5abe67c2518966300 (patch) | |
| tree | f52df6e98f6605e86c7c5927bb4ce84dc2ce592f | |
| parent | 3783abd73ff6030f62f93d0f531ba684a640fb3e (diff) | |
make sure monitor array is not undefined
| -rw-r--r-- | www/js/EventCtrl.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index d8925dee..11db7d2a 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -164,6 +164,7 @@ angular.module('zmApp.controllers') //console.log("I got STATE PARAM " + $stateParams.id); $scope.id = parseInt($stateParams.id, 10); $scope.showEvent = $stateParams.playEvent || false; + $scope.monitors = NVRDataModel.getMonitorsNow(); //console.log("BEFORE ENTER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"); |
