diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-01-11 08:01:20 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-01-11 08:01:20 -0500 |
| commit | da44a9052693b02f3b665adb0f5629871ba8e916 (patch) | |
| tree | efe6a6310b9ef498994a4e41b843d7dde465d3f5 | |
| parent | 36e085afe1cdfbd36ba7f35b224cef58799b99fb (diff) | |
display cgi check error #427
| -rw-r--r-- | www/js/LoginCtrl.js | 4 |
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) |
