Handle captcha errors with a new captcha!

This commit is contained in:
Zixaphir 2014-04-05 01:02:43 -07:00
parent 2ba7ae5d28
commit df78c2e1f8
3 changed files with 3 additions and 0 deletions

View File

@ -6123,6 +6123,7 @@
}
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
QR.captcha.nodes.input.focus();
QR.captcha.setup();
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
QR.notify(el);
} else {

View File

@ -6178,6 +6178,7 @@
}
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
QR.captcha.nodes.input.focus();
QR.captcha.setup();
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
QR.notify(el);
} else {

View File

@ -144,6 +144,7 @@ QR =
if QR.captcha.isEnabled and /captcha|verification/i.test el.textContent
# Focus the captcha input on captcha error.
QR.captcha.nodes.input.focus()
QR.captcha.setup()
if Conf['Captcha Warning Notifications'] and !d.hidden
QR.notify el
else