summaryrefslogtreecommitdiff
path: root/www/js/MonitorCtrl.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-10-01 19:09:25 -0400
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-10-01 19:09:25 -0400
commit3a22b40f6381bb066a7039a491c88d771d016e3f (patch)
tree6012783ccc90152a4ff613bd0d0d383558934999 /www/js/MonitorCtrl.js
parent07f76ec873bbd27afd7f6e5db81883afb14b09c3 (diff)
maek sure popups go away on resume
Diffstat (limited to 'www/js/MonitorCtrl.js')
-rw-r--r--www/js/MonitorCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index b93f35ae..7f8679eb 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -74,7 +74,7 @@ angular.module('zmApp.controllers')
myenabled: checked
};
- var getConfig = $ionicPopup.show({
+ $rootScope.zmPopup = $ionicPopup.show({
scope: $scope,
template: '<ion-toggle ng-model="monfunc.myenabled" ng-checked="{{monfunc.myenabled}}" toggle-class="toggle-calm">Enabled</ion-toggle><ion-radio-fix ng-repeat="item in monFunctions" ng-value="item.value" ng-model="monfunc.myfunc"> {{item.text}} </ion-radio-fix>',