diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/DevOptionsCtrl.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js index 129b84fa..fe92877d 100644 --- a/www/js/DevOptionsCtrl.js +++ b/www/js/DevOptionsCtrl.js @@ -87,16 +87,18 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope' ZMDataModel.zmDebug("SaveDevOptions: Saving to disk"); ZMDataModel.setLogin($scope.loginData); + + } + + $scope.saveDevOptions = function () { + + saveDevOptions(); $ionicPopup.alert({ title: 'Settings Saved', template: 'Please explore the menu and enjoy zmNinja!' }).then(function (res) { $ionicSideMenuDelegate.toggleLeft(); }); - } - - $scope.saveDevOptions = function () { - saveDevOptions(); }; //------------------------------------------------------------------ |
