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/MontageCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/MontageCtrl.js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index e260b373..69ff6129 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -42,7 +42,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', ' var tempMonitors = message; if (tempMonitors.length == 0) { - $ionicPopup.alert({ + $rootScope.zmPopup= $ionicPopup.alert({ title: "No Monitors found", template: "Please check your credentials" }); -- cgit v1.2.3