diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-12 08:12:23 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-12 08:12:23 -0400 |
| commit | 0d81a588d42c73c92d313f853461b433f8543ae4 (patch) | |
| tree | 08590e3caad35938ec92c7a04bc3206409011284 /www/js/RefreshCtrl.js | |
| parent | 971741dc3e0eaa26c3a56ceeab6ce6eece61b6ce (diff) | |
file formatting
Diffstat (limited to 'www/js/RefreshCtrl.js')
| -rw-r--r-- | www/js/RefreshCtrl.js | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/www/js/RefreshCtrl.js b/www/js/RefreshCtrl.js index a29aae96..02acd74a 100644 --- a/www/js/RefreshCtrl.js +++ b/www/js/RefreshCtrl.js @@ -2,27 +2,24 @@ /* jslint browser: true*/ /* global cordova,StatusBar,angular,console */ -angular.module('zmApp.controllers').controller('zmApp.RefreshCtrl', ['$scope', '$ionicSideMenuDelegate', 'zm', '$stateParams', '$state', '$ionicHistory', function($scope, $ionicSideMenuDelegate, zm, $stateParams, $state, $ionicHistory) -{ - $scope.openMenu = function() - { - $ionicSideMenuDelegate.toggleLeft(); - }; +angular.module('zmApp.controllers').controller('zmApp.RefreshCtrl', ['$scope', '$ionicSideMenuDelegate', 'zm', '$stateParams', '$state', '$ionicHistory', function ($scope, $ionicSideMenuDelegate, zm, $stateParams, $state, $ionicHistory) { + $scope.openMenu = function () { + $ionicSideMenuDelegate.toggleLeft(); + }; - //------------------------------------------------------------------------- - // Controller Main - //------------------------------------------------------------------------ - $scope.$on('$ionicView.afterEnter', function() - { - //console.log("**VIEW ** LowVersion Ctrl Entered"); - $ionicSideMenuDelegate.canDragContent(false); - //console.log ("jumping to: "+$stateParams.view); - $ionicHistory.nextViewOptions({ - disableAnimate: true, - disableBack: true - }); - $state.go($stateParams.view); - return; + //------------------------------------------------------------------------- + // Controller Main + //------------------------------------------------------------------------ + $scope.$on('$ionicView.afterEnter', function () { + //console.log("**VIEW ** LowVersion Ctrl Entered"); + $ionicSideMenuDelegate.canDragContent(false); + //console.log ("jumping to: "+$stateParams.view); + $ionicHistory.nextViewOptions({ + disableAnimate: true, + disableBack: true }); + $state.go($stateParams.view); + return; + }); }]); |
