diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-21 21:08:31 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-21 21:08:31 -0400 |
| commit | cc68fd22ee02d68b9ac200dd3f02e329ace54314 (patch) | |
| tree | 05b89df637735fc7d992b015a8dd2814c76dacd4 /www/js/app.js | |
| parent | 75d840bf61ae0ff8c87aaa50ec9c2ef8863508ad (diff) | |
nits
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js index ec757b47..87f40674 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -92,9 +92,10 @@ angular.module('zmApp', [ minCycleTime: 5, loginInterval: 1800000, //30m*60s*1000 - ZM auto login after 30 mins - //loginInterval: 20000, + //loginInterval: 60000, // testing 1 min eventPlaybackQueryLowBW: 6000, loginIntervalLowBW: 1800000, //30m login + eventSingleImageQualityLowBW: 70, monSingleImageQualityLowBW: 70, montageQualityLowBW: 50, @@ -1636,8 +1637,8 @@ angular.module('zmApp', [ if ($rootScope.apiValid == false && toState.name != 'app.invalidapi' && toState.data.requireLogin == true) { event.preventDefault(); - $rootScope.dpadState = "invalidapi"; - $state.transitionTo('invalidapi'); + $rootScope.dpadState = "app.invalidapi"; + $state.transitionTo('app.invalidapi'); return; } |
