diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 11:08:00 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 11:08:00 -0500 |
| commit | 85d0cf4508b00e52f7c3c0b437541eb4702c660a (patch) | |
| tree | 1dabd0cc6d84e978b1d1f296f6e98ef063ffda23 /www/js/app.js | |
| parent | 8cc0496efc897a7fc9b03be30839b4dc6f25c071 (diff) | |
#103 - moving alarm count to the API
Former-commit-id: 15614ad820631a3d202bbecd5ae83e6a7c15540e
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js index 0fea5dbf..38a451a2 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -531,7 +531,7 @@ angular.module('zmApp', [ } else // this means login error { $rootScope.loggedIntoZm = -1; - console.log("**** ZM Login FAILED"); + //console.log("**** ZM Login FAILED"); ZMDataModel.zmLog("zmAutologin Error: Bad Credentials ", "error"); $rootScope.$emit('auth-error', "incorrect credentials"); @@ -544,16 +544,17 @@ angular.module('zmApp', [ ZMDataModel.getAuthKey($rootScope.validMonitorId) .then(function (success) { - console.log(success); + //console.log(success); $rootScope.authSession = success; ZMDataModel.zmLog("Stream authentication construction: " + $rootScope.authSession); }, function (error) { - console.log(error); + //console.log(error); ZMDataModel.zmLog("Modal: Error returned Stream authentication construction. Retaining old value of: " + $rootScope.authSession); + ZMDataModel.zmDebug("Error was: " + JSON.stringify(error)); }); return (d.promise); @@ -637,6 +638,7 @@ angular.module('zmApp', [ $rootScope.currentServerGroup = "defaultServer"; $rootScope.validMonitorId = ""; $rootScope.newVersionAvailable = ""; + $rootScope.minAlarmCount = "1"; |
