mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15564] Move recaptcha callbacks to global space
PHPBB3-15564
This commit is contained in:
parent
a05d744266
commit
25d3292d30
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue