summaryrefslogtreecommitdiff
path: root/www/js/LowVersionCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/LowVersionCtrl.js')
-rw-r--r--www/js/LowVersionCtrl.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/js/LowVersionCtrl.js b/www/js/LowVersionCtrl.js
new file mode 100644
index 00000000..3e93dcd0
--- /dev/null
+++ b/www/js/LowVersionCtrl.js
@@ -0,0 +1,24 @@
+/* jshint -W041 */
+/* 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();
+ };
+
+
+
+
+ //-------------------------------------------------------------------------
+ // Controller Main
+ //------------------------------------------------------------------------
+ $scope.$on('$ionicView.enter', function () {
+ console.log("**VIEW ** LowVersion Ctrl Entered");
+ $ionicSideMenuDelegate.canDragContent(false);
+ $scope.requiredVersion = zm.minAppVersion;
+ $scope.currentVersion = $stateParams.ver;
+
+ });
+
+}]);