From b1ec7f1cc4716c7d9aaf9c481013d2b33dbef55b Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Fri, 4 Jan 2019 17:05:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81bug(?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E5=AF=86=E7=A0=81=E8=BE=93=E5=85=A5=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E4=BB=8D=E5=8F=AF=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?)=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gloam/WebRoot/resetPwd.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gloam/WebRoot/resetPwd.html b/gloam/WebRoot/resetPwd.html index 8583f81..10e37fd 100644 --- a/gloam/WebRoot/resetPwd.html +++ b/gloam/WebRoot/resetPwd.html @@ -17,6 +17,7 @@ } //$("#pwd,#repwd,#button").prop("style", "display:none;"); + $("#newPwd,#reNewPwd").attr("readonly","readonly"); $("#mysub").attr("disabled", "disabled"); $("#oldpwdin").focus(); $("#oldpwdin").blur(function() { @@ -48,12 +49,14 @@ //$("#oldpwd").prop("style", "display:none;"); //$("#pwd,#repwd,#button").prop("style","display;"); $("#oldpwdMsg").html("

"); + $("#newPwd,#reNewPwd").removeAttr("readonly"); $("#mysub").attr("disabled", "disabled"); } else if (msg != null && msg == "faild") { alert("i18n_LoginController.text.userValidateErr_n81i"); window.location.href = "/exit"; } else { $("#oldpwdMsg").html('i18n_resetPwd.text.pwdErr_n81i
'); + } } });