diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-17 14:10:52 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-17 14:10:52 -0500 |
| commit | d290db98c46031830da306d39deb2a752d3515af (patch) | |
| tree | 9dc9dc5561fcd9f93ae4b6d086b60b4210f58803 | |
| parent | 807de7546652bc7f5506b075d19b7ef3f697ca42 (diff) | |
updates
Former-commit-id: 377283b67337829a673e3d8307528fb69fedee25
| -rw-r--r-- | www/js/app.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js index f52f3bab..f0d95914 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -54,6 +54,7 @@ angular.module('zmApp', [ graphStrokeColor: 'rgba(151,187,205,0.8)', graphHighlightFill: 'rgba(0,163,124,0.5)', graphItemMax: 200, + graphDesktopItemMax:2000, monitorCheckingColor: '#03A9F4', monitorNotRunningColor: '#F44336', monitorPendingColor: '#FF9800', @@ -64,7 +65,8 @@ angular.module('zmApp', [ eventsListScrubHeight: 300, loginScreenString: "var currentView = 'login'", // Isn't there a better way? desktopUrl:"/zm", - desktopApiUrl: "/api/zm" + desktopApiUrl: "/api/zm", + latestRelease: "https://api.github.com/repos/pliablepixels/zmNinja/releases/latest" }) @@ -452,7 +454,7 @@ angular.module('zmApp', [ // Now go ahead and re-get auth key $rootScope.authSession = "undefined"; var ld = ZMDataModel.getLogin(); - ZMDataModel.getAuthKey() + ZMDataModel.getAuthKey($rootScope.validMonitorId) .then(function (success) { console.log(success); @@ -546,6 +548,7 @@ angular.module('zmApp', [ $rootScope.alarmCount="0"; $rootScope.platformOS="desktop"; $rootScope.currentServerGroup = "defaultServer"; + $rootScope.validMonitorId = ""; // This is a global exception interceptor |
