diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-01-29 19:29:03 -0500 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-01-29 19:29:03 -0500 |
| commit | 08e9389d45559e43bbb7a6b4ec2210646c62d8c1 (patch) | |
| tree | 3d4e3c3be474910731f2ca9d3f0a7f49af20d452 /www/js/MonitorCtrl.js | |
| parent | c636e3e184cde291641dc84a6c20a3867ed504d1 (diff) | |
#154 - cleanup
Former-commit-id: 1ef2f02459f0ccb13909e5ee3cd849cbb410e420
Diffstat (limited to 'www/js/MonitorCtrl.js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index 6b712507..79932c6a 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -406,6 +406,8 @@ angular.module('zmApp.controllers') ZMDataModel.setAwake(false); $scope.modal.remove(); $timeout (function() {ZMDataModel.zmLog("Stopping network pull...");if (ZMDataModel.isForceNetworkStop()) window.stop();},50); + + }; //Cleanup the modal when we're done with it! $scope.$on('$destroy', function () { |
