This commit is contained in:
Liang Ding
2018-12-01 11:13:31 +08:00
parent 6b521a0d05
commit a9a1ef3807
19 changed files with 20 additions and 20 deletions

View File

@@ -64,7 +64,7 @@
<p>
<input type="text" id="commentValidate" tabindex="5" />
<label for="url">${captchaLabel}</label>
<img id="captcha" alt="validate" src="${servePath}/captcha.do" />
<img id="captcha" alt="validate" src="${servePath}/captcha" />
</p>
</#if>
<p>
@@ -129,7 +129,7 @@
if (!result.sc) {
$("#commentValidate" + state).val("").focus();
$("#commentErrorTip" + state).html(result.msg);
$("#captcha" + state).attr("src", "/captcha.do?code=" + Math.random());
$("#captcha" + state).attr("src", "/captcha?code=" + Math.random());
$wpt('#commentErrorTip' + state).show();
$wpt("#loading").fadeOut(400);
return;