Fix captcha posting. #932

This commit is contained in:
Nicolas Stepien 2013-02-24 15:51:04 +01:00
parent 38d90627c6
commit 491721e049
2 changed files with 4 additions and 4 deletions

View File

@ -6499,8 +6499,8 @@
challenge = captcha.challenge;
response = captcha.response;
} else {
challenge = QR.captcha.img.alt;
if (response = QR.captcha.input.value) {
challenge = QR.captcha.nodes.img.alt;
if (response = QR.captcha.nodes.input.value) {
QR.captcha.reload();
}
}

View File

@ -704,8 +704,8 @@ QR =
challenge = captcha.challenge
response = captcha.response
else
challenge = QR.captcha.img.alt
if response = QR.captcha.input.value then QR.captcha.reload()
challenge = QR.captcha.nodes.img.alt
if response = QR.captcha.nodes.input.value then QR.captcha.reload()
$.set 'captchas', captchas
QR.captcha.count captchas
unless response