diff options
Diffstat (limited to 'www/js/LowVersionCtrl.js')
| -rw-r--r-- | www/js/LowVersionCtrl.js | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/www/js/LowVersionCtrl.js b/www/js/LowVersionCtrl.js index a7fbb7ff..9d18d9e0 100644 --- a/www/js/LowVersionCtrl.js +++ b/www/js/LowVersionCtrl.js @@ -2,23 +2,20 @@ /* jslint browser: true*/ /* global cordova,StatusBar,angular,console */ -angular.module('zmApp.controllers').controller('zmApp.LowVersionCtrl', ['$scope', '$ionicSideMenuDelegate', 'zm', '$stateParams', function($scope, $ionicSideMenuDelegate, zm, $stateParams) -{ - $scope.openMenu = function() - { - $ionicSideMenuDelegate.toggleLeft(); - }; +angular.module('zmApp.controllers').controller('zmApp.LowVersionCtrl', ['$scope', '$ionicSideMenuDelegate', 'zm', '$stateParams', function ($scope, $ionicSideMenuDelegate, zm, $stateParams) { + $scope.openMenu = function () { + $ionicSideMenuDelegate.toggleLeft(); + }; - //------------------------------------------------------------------------- - // Controller Main - //------------------------------------------------------------------------ - $scope.$on('$ionicView.enter', function() - { - //console.log("**VIEW ** LowVersion Ctrl Entered"); - $ionicSideMenuDelegate.canDragContent(true); - $scope.requiredVersion = zm.minAppVersion; - $scope.currentVersion = $stateParams.ver; + //------------------------------------------------------------------------- + // Controller Main + //------------------------------------------------------------------------ + $scope.$on('$ionicView.enter', function () { + //console.log("**VIEW ** LowVersion Ctrl Entered"); + $ionicSideMenuDelegate.canDragContent(true); + $scope.requiredVersion = zm.minAppVersion; + $scope.currentVersion = $stateParams.ver; - }); + }); }]); |
