summaryrefslogtreecommitdiff
path: root/www/js/DevOptionsCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/DevOptionsCtrl.js')
-rw-r--r--www/js/DevOptionsCtrl.js10
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();
};
//------------------------------------------------------------------