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
'); + } } });