summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/MenuController.js4
-rwxr-xr-xwww/js/app.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/www/js/MenuController.js b/www/js/MenuController.js
index 590b927d..cb33ee10 100644
--- a/www/js/MenuController.js
+++ b/www/js/MenuController.js
@@ -53,10 +53,10 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io
title: $translate.instant('kPassword'),
scope: $scope,
buttons: [
- { text: 'Cancel',
+ { text: $translate.instant('kButtonCancel'),
type: 'button-assertive',
onTap: function (e) {
- $scope.loginData.isKiosk = false;
+
}
},
{
diff --git a/www/js/app.js b/www/js/app.js
index 7c2aeb34..08331872 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1117,7 +1117,7 @@ angular.module('zmApp', [
_doLogin("");
} else {
- NVR.debug ('We will relogin every '+timeInterval/1000+' seconds, token supported='+ld.isTokenSupported)
+ NVR.debug ('We will relogin every '+timeInterval/1000+' seconds, token supported='+ld.isTokenSupported);
zmAutoLoginHandle = $interval(function () {
_doLogin("");
}, timeInterval);