diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-10-15 08:23:29 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-09-24 14:04:23 +0200 |
commit | 25d3292d30683e00e315586643f36f44c492a8dc (patch) | |
tree | cae8344dc90c850a44a69bb77c449eea7a4d3c36 | |
parent | a05d74426667cc99b1e10d6f00c527519a250779 (diff) | |
download | forums-25d3292d30683e00e315586643f36f44c492a8dc.tar forums-25d3292d30683e00e315586643f36f44c492a8dc.tar.gz forums-25d3292d30683e00e315586643f36f44c492a8dc.tar.bz2 forums-25d3292d30683e00e315586643f36f44c492a8dc.tar.xz forums-25d3292d30683e00e315586643f36f44c492a8dc.zip |
[ticket/15564] Move recaptcha callbacks to global space
PHPBB3-15564
-rw-r--r-- | phpBB/assets/javascript/core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 58016c872f..bb38441622 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -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(); } |