Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reCaptcha IE8 Crashes - "Fail to load style - bubble" #234

Open
GoogleCodeExporter opened this issue Oct 19, 2015 · 0 comments
Open

reCaptcha IE8 Crashes - "Fail to load style - bubble" #234

GoogleCodeExporter opened this issue Oct 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use click on reCaptcha's checkbox using IE8

An error was thrown,
http://gyazo.com/2cd2addcdd3f7e25ff71b3f01a1dadaa

After this error captcha newer stops loading (js is broken - 
http://gyazo.com/57b058138bae7add482479cc8cee60c1);


Code that invokes the recaptcha:

     function invokeReCaptcha() {
            grecaptcha.render(
                        "cplace",
                        {
                            "sitekey": "!!", 
                            "theme": "light", 
                            "callback": function() {
                                validateCaptchaC($('#g-recaptcha-response').val());
                                accept_policy_check();
                            },
                            "expired-callback": function() {
                                validateCaptchaC($('#g-recaptcha-response').val());
                                grecaptcha.reset();
                                accept_policy_check();
                            }

                        }

                    );
            }

            function onloadCallback() {
                 try {
             invokeReCaptcha();                    
                }
                catch (e) {
                   $('#cplace').empty();
                   invokeReCaptcha();
                }
             }
            $(document).ready(function () {
                $.getScript('https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit')
            });

HTML Element:

<div id="cplace" style="margin-left:35%" ></div>


Platform - Salesforce.com, IE 8 NOT in Compatibility Mode (In this mode 
reCaptcha does not show any images at all)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 20 Apr 2015 at 12:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant