summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-11-14 16:52:04 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-11-14 16:52:04 -0500
commitf579c186e8e70effae56509f1d6e7af1978be3d7 (patch)
tree915337b4ccf463261239341ae26a07ecd8e1cbf2 /www/js/LoginCtrl.js
parenteb47b69df4470fcfa5e7aeb76515a4cab4a406da (diff)
Various timezone related fixes, also was checking for alarm frames so 0 frame in-recording was never being closed. Still has bugs, need more testing #369
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 4e4efc0a..db0440b4 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -606,10 +606,13 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
// possible image digits changed between servers
NVRDataModel.getKeyConfigParams(0);
+
NVRDataModel.log("Validating APIs at " + apiurl);
$http.get(apiurl)
.success(function (data) {
+
+ NVRDataModel.getTimeZone(true);
var loginStatus = $translate.instant('kExploreEnjoy') + " " + $rootScope.appName + "!";
EventServer.refresh();