summaryrefslogtreecommitdiff
path: root/www/js/DevOptionsCtrl.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-12-05 15:44:27 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-12-05 15:44:27 -0500
commitc76ead47d1b4474e8cef477a918639fa44d835f1 (patch)
tree3e4c03e08590ce9d5d7e6a412d1a90f4f67229ff /www/js/DevOptionsCtrl.js
parent3f9daea7bb0fa25eb894bbc068b8ccbc1397c8a5 (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/DevOptionsCtrl.js')
-rw-r--r--www/js/DevOptionsCtrl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js
index 57e694df..5dd604ba 100644
--- a/www/js/DevOptionsCtrl.js
+++ b/www/js/DevOptionsCtrl.js
@@ -57,7 +57,7 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope'
ZMDataModel.zmDebug("SaveDevOptions: called");
if (parseInt($scope.loginData.maxMontage) > zm.safeMontageLimit) {
- $ionicPopup.alert({
+ $rootScope.zmPopup= $ionicPopup.alert({
title: 'Note',
template: 'You have selected to view more than 10 monitors in the Montage screen. Note that this is very resource intensive and may load the server or cause issues in the application. If you are not sure, please consider limiting this value to 10'
});
@@ -99,7 +99,7 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope'
$scope.saveDevOptions = function () {
saveDevOptions();
- $ionicPopup.alert({
+ $rootScope.zmPopup= $ionicPopup.alert({
title: 'Settings Saved',
template: 'Please explore the menu and enjoy zmNinja!'
}).then(function (res) {