This commit is contained in:
Nicolas Stepien 2012-12-13 12:08:33 +01:00
parent f28bfd4e7e
commit 9f18c25805
3 changed files with 3 additions and 2 deletions

View File

@ -2366,7 +2366,7 @@
return this.input.alt = count; return this.input.alt = count;
}, },
reload: function(focus) { reload: function(focus) {
window.location = 'javascript:Recaptcha.reload("t")'; $.globalEval('javascript:Recaptcha.reload("t")');
if (focus) { if (focus) {
return QR.captcha.input.focus(); return QR.captcha.input.focus();
} }

View File

@ -1,6 +1,7 @@
master master
- Mayhem - Mayhem
Fix selection quoting on Opera. Fix selection quoting on Opera.
Fix history bug with Persistent QR enabled on Chrome.
2.37.0 2.37.0
- noface - noface

View File

@ -1840,7 +1840,7 @@ QR =
@input.alt = count # For XTRM RICE. @input.alt = count # For XTRM RICE.
reload: (focus) -> reload: (focus) ->
# the "t" argument prevents the input from being focused # the "t" argument prevents the input from being focused
window.location = 'javascript:Recaptcha.reload("t")' $.globalEval 'javascript:Recaptcha.reload("t")'
# Focus if we meant to. # Focus if we meant to.
QR.captcha.input.focus() if focus QR.captcha.input.focus() if focus
keydown: (e) -> keydown: (e) ->