reload captcha on fail

for reals this time
This commit is contained in:
James Campos 2010-09-04 13:15:26 -07:00
parent a2a38b5dcd
commit 7ae4faded2

View File

@ -419,6 +419,8 @@ iframeLoad = ->
span.textContent = error
span.className = 'error'
qr.appendChild(span)
if error = 'You seem to have mistyped the verification'
window.location = 'javascript:Recaptcha.reload()'
else
remove(qr)
window.location = 'javascript:Recaptcha.reload()'