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/LoginCtrl.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/js/LoginCtrl.js') diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index ba782bb2..55d384e2 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -402,10 +402,11 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r $scope.kioskPinConfig = function () { - $scope.data = {}; + var ld = NVR.getLogin(); + $scope.data = {p1:ld.kioskPassword}; // An elaborate, custom popup var myPopup = $ionicPopup.show({ - template: ''+$translate.instant('kKioskPassword')+'
'+$translate.instant('kKioskPasswordConfirm')+'', + template: ''+$translate.instant('kKioskPassword')+'
'+$translate.instant('kKioskPasswordConfirm')+'', title: $translate.instant('kPassword'), scope: $scope, buttons: [ -- cgit v1.2.3