mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15564] Move recaptcha callbacks to global space
PHPBB3-15564
This commit is contained in:
committed by
Marc Alexander
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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user