diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-02 16:35:01 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-02 16:35:01 -0400 |
| commit | d3287595f35e0d96cf6025688aae79938ced63b7 (patch) | |
| tree | df334816ba66f34ed23749392a34b0ea1ceff582 /www/js/app.js | |
| parent | 3a22b40f6381bb066a7039a491c88d771d016e3f (diff) | |
added checking for minimum ZM version
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
