From d3287595f35e0d96cf6025688aae79938ced63b7 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Fri, 2 Oct 2015 16:35:01 -0400 Subject: added checking for minimum ZM version --- www/js/app.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index 7a624d5b..c5440937 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -25,6 +25,7 @@ angular.module('zmApp', [ //----------------------------------------------- .constant('zm', { + minAppVersion: '1.28.107', httpTimeout: 15000, largeHttpTimeout: 60000, logFile: 'zmNinjaLog.txt', @@ -727,6 +728,19 @@ angular.module('zmApp', [ }) + .state('lowversion', { + data: { + requireLogin: false + }, + + url: "/lowversion/:ver", + templateUrl: "templates/lowversion.html", + controller: 'zmApp.LowVersionCtrl', + + }) + + + .state('events-graphs', { data: { requireLogin: true -- cgit v1.2.3