From c76ead47d1b4474e8cef477a918639fa44d835f1 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sat, 5 Dec 2015 15:44:27 -0500 Subject: 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 --- www/js/MonitorCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/MonitorCtrl.js') 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" }); -- cgit v1.2.3