mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-15 05:14:28 +02:00
[ticket/15564] Move recaptcha callbacks to global space
PHPBB3-15564
This commit is contained in:
parent
a05d744266
commit
25d3292d30
@ -1687,10 +1687,10 @@ phpbb.recaptchaOnSubmit = function () {
|
||||
|
||||
// reCAPTCHA doesn't accept callback functions nested inside objects
|
||||
// so we need to make this helper functions here
|
||||
function phpbbRecaptchaOnLoad() {
|
||||
window.phpbbRecaptchaOnLoad = function() {
|
||||
phpbb.recaptchaOnLoad();
|
||||
}
|
||||
function phpbbRecaptchaOnSubmit() {
|
||||
window.phpbbRecaptchaOnSubmit = function() {
|
||||
phpbb.recaptchaOnSubmit();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user