From: Alan Knowles Date: Wed, 30 Dec 2020 09:37:48 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=18489dc7719fb6e6345b85c0c4b6168848d82e08 Uncommited changes synced --- 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; }