From 18489dc7719fb6e6345b85c0c4b6168848d82e08 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 30 Dec 2020 17:37:48 +0800 Subject: [PATCH] Uncommited changes synced --- Roo/bootstrap/SecurePass.js | 3 +-- docs/src/Roo_bootstrap_SecurePass.js.html | 3 +-- roojs-bootstrap-debug.js | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Roo/bootstrap/SecurePass.js b/Roo/bootstrap/SecurePass.js index d2ed3908d2..bbb84ca8d1 100644 --- a/Roo/bootstrap/SecurePass.js +++ b/Roo/bootstrap/SecurePass.js @@ -190,7 +190,6 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { // private validateValue: function (value) { - if (!Roo.bootstrap.SecurePass.superclass.validateValue.call(this, value)) { return false; } @@ -209,7 +208,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { return true; } - if (!value.match(/[\x21-\x7e]*/)) { + if (!value.match(/[\x21-\x7e]+/)) { this.markInvalid(this.errors.PwdBadChar); this.errorMsg = this.errors.PwdBadChar; return false; diff --git a/docs/src/Roo_bootstrap_SecurePass.js.html b/docs/src/Roo_bootstrap_SecurePass.js.html index 7103506586..9bcf13ea67 100644 --- a/docs/src/Roo_bootstrap_SecurePass.js.html +++ b/docs/src/Roo_bootstrap_SecurePass.js.html @@ -190,7 +190,6 @@ // private validateValue: function (value) { - if (!Roo.bootstrap.SecurePass.superclass.validateValue.call(this, value)) { return false; } @@ -209,7 +208,7 @@ return true; } - if ('[\x21-\x7e]*'.match(value)) { + if (!value.match(/[\x21-\x7e]*/)) { this.markInvalid(this.errors.PwdBadChar); this.errorMsg = this.errors.PwdBadChar; return false; diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 15d5fc5347..58f706cb22 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -23486,7 +23486,6 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { // private validateValue: function (value) { - if (!Roo.bootstrap.SecurePass.superclass.validateValue.call(this, value)) { return false; } -- 2.39.2