diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-27 12:22:06 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-27 12:22:06 -0400 |
| commit | b028c07f199cf637f10961ac5cc90a7a2a37e41e (patch) | |
| tree | fec9ebd769785aa4843b603c158f125ee582bbb3 /www/js/MonitorCtrl.js | |
| parent | e72b9527de8b64fc0f9aa0c8c1e6788543c12429 (diff) | |
if coming from monitors, don't hide events where IDs are hidden
Diffstat (limited to 'www/js/MonitorCtrl.js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index c04ef316..e9ec2f4b 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -428,7 +428,7 @@ angular.module('zmApp.controllers') //Cleanup the modal when we're done with it! $scope.$on('$destroy', function () { //console.log("Destroy Monitor Modal"); - $scope.modal.remove(); + if ($scope.modal) $scope.modal.remove(); }); |
