don't cache captcha when autoposting

This commit is contained in:
James Campos 2011-09-21 00:07:09 -07:00
parent 2ba552c59a
commit d66a161f70
2 changed files with 2 additions and 2 deletions

View File

@ -1492,7 +1492,7 @@
}
qr = QR.qr;
$('.error', qr).textContent = '';
if ((el = $('#recaptcha_response_field', qr)).value) {
if (e && (el = $('#recaptcha_response_field', qr)).value) {
QR.captchaPush(el);
}
if (!(captcha = QR.captchaShift())) {

View File

@ -1166,7 +1166,7 @@ QR =
return
{qr} = QR
$('.error', qr).textContent = ''
if (el = $('#recaptcha_response_field', qr)).value
if e and (el = $('#recaptcha_response_field', qr)).value
QR.captchaPush el
if not captcha = QR.captchaShift()
alert 'You forgot to type in the verification.'