diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-05-17 19:35:58 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-05-17 19:35:58 -0400 |
| commit | c43cf1fdd12217547f57d65cfe62f9fe488046b8 (patch) | |
| tree | cd475e334b0946d24cd8897b5d7130fd206be4b3 /www | |
| parent | 9bee10f435e5d5d93efdc90d3aae943a1aa5cbec (diff) | |
added comments
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/MonitorCtrl.js | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index 7efe3e33..b7469a9d 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -26,6 +26,8 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu }); }; +// This function takes care of changing function parameters +// For now, I've only limited it to enable/disable and change monitor mode $scope.changeConfig = function (monitorName, monitorId, enabled, func) { var checked = "false"; @@ -111,6 +113,8 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu }) + // I am restarting ZM after monitor change + // do I need this? FIXME: Ask Kyle .success(function () { $ionicLoading.show({ @@ -156,14 +160,6 @@ angular.module('zmApp.controllers').controller('zmApp.MonitorCtrl', ['$ionicPopu }; - $scope.notSupported = function () { - - $ionicPopup.alert({ - title: 'In a Galaxy Far Far Away...', - template: 'This feature will be supported sometime in the future.' - }); - }; - $scope.isSimulated = function () { return ZMDataModel.isSimulated(); |
