summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-01-11 08:01:20 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-01-11 08:01:20 -0500
commitda44a9052693b02f3b665adb0f5629871ba8e916 (patch)
treeefe6a6310b9ef498994a4e41b843d7dde465d3f5 /www
parent36e085afe1cdfbd36ba7f35b224cef58799b99fb (diff)
display cgi check error #427
Diffstat (limited to 'www')
-rw-r--r--www/js/LoginCtrl.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 59b7ad2d..99660989 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -773,6 +773,10 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
});
}
+ else // make sure CGI error is always shown
+ {
+ NVRDataModel.displayBanner('error', [loginStatus]);
+ }
NVRDataModel.debug("refreshing API version...");
NVRDataModel.getAPIversion()
.then(function(data)