diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-12-05 15:44:27 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-12-05 15:44:27 -0500 |
| commit | c76ead47d1b4474e8cef477a918639fa44d835f1 (patch) | |
| tree | 3e4c03e08590ce9d5d7e6a412d1a90f4f67229ff /www/js/MonitorCtrl.js | |
| parent | 3f9daea7bb0fa25eb894bbc068b8ccbc1397c8a5 (diff) | |
scoped all alerts to zmPopupalert so I can kill them if moved to background and resumed. show dialogs were already scoped
Former-commit-id: d32398cee403f515eb593921f266abf229aa3780
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 8aaa770f..dc24c4ae 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -23,7 +23,7 @@ angular.module('zmApp.controllers') if ($scope.monitors.length == 0) { - $ionicPopup.alert({ + $rootScope.zmPopup= $ionicPopup.alert({ title: "No Monitors found", template: "Please check your credentials" }); |
