From f24b90a7b98a5f5c9ee1df2fad9bd1ffbe7c0aee Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 9 Jul 2019 12:16:18 -0400 Subject: #830 hide server switch, and some bug fixes --- www/js/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index 08331872..89944da6 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1584,11 +1584,13 @@ angular.module('zmApp', [ } if (requireLogin) { + + NVR.displayBanner('error', [$translate.instant('kCredentialsBody')]); - $ionicPopup.alert({ + /* $ionicPopup.alert({ title: $translate.instant('kCredentialsTitle'), template: $translate.instant('kCredentialsBody') - }); + });*/ // for whatever reason, .go was resulting in digest loops. // if you don't prevent, states will stack event.preventDefault(); -- cgit v1.2.3