From e531673a7fb2fa9630353fd20d6084e37fb789ed Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 2 Apr 2024 11:21:40 +0800 Subject: [PATCH] =?UTF-8?q?html=E6=B3=A8=E5=85=A5=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E6=80=A7=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/o2_core/o2/xDesktop/Authentication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/o2web/source/o2_core/o2/xDesktop/Authentication.js b/o2web/source/o2_core/o2/xDesktop/Authentication.js index 18289070a8..2879897a1a 100644 --- a/o2web/source/o2_core/o2/xDesktop/Authentication.js +++ b/o2web/source/o2_core/o2/xDesktop/Authentication.js @@ -1816,8 +1816,8 @@ MWF.xDesktop.Authentication.ResetPasswordForm = new Class({ name: { text: this.lp.userName, defaultValue: this.lp.userName, className: "inputUser", notEmpty: true, defaultValueAsEmpty: true, emptyTip: this.lp.inputYourUserName, - validRule: { isInvalid: function (value, it) { return this.checkUserName(value, it); }.bind(this) }, - validMessage: { isInvalid: this.lp.userNotExist }, + // validRule: { isInvalid: function (value, it) { return this.checkUserName(value, it); }.bind(this) }, + // validMessage: { isInvalid: this.lp.userNotExist }, event: { focus: function (it) { if (this.lp.userName === it.getValue()) it.setValue(""); if (!it.warningStatus) it.getElements()[0].setStyles(this.css.inputActive); }.bind(this), blur: function (it) { if (it.getValue() === "") it.setValue(this.lp.userName); if (!it.warningStatus) it.getElements()[0].setStyles(this.css.inputUser); }.bind(this), -- GitLab