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

Doesnt work with embedded IE8 #352

Open
commelius-grela opened this issue Feb 4, 2016 · 2 comments
Open

Doesnt work with embedded IE8 #352

commelius-grela opened this issue Feb 4, 2016 · 2 comments

Comments

@commelius-grela
Copy link

I have a need to run webpage on the IE8 embedded in the application (windows), I've found that the webpage doesn't work unless I remove the respond library (on the standalone IE8 the webpage works). When I did some troubleshooting I've found that problem lies in the ajax method when it calls req.open("GET", url, true);. I've put the try catch block around it and spit out alert with error details then I've got following:

---------------------------
Message from webpage
---------------------------
-2147024891
Access is denied.
---------------------------
OK   
---------------------------

Are you aware of such behaviour, can you suggest workaround/fix for this?

@commelius-grela
Copy link
Author

the document.location is reported as: file:///C:/.../.../index.html

@commelius-grela
Copy link
Author

The workaround was to use jquery's get method

        ajax = function (url, callback) {
            //jquery
            try {
                $.get(url, callback);
            } catch (e) {
                alert("catch $.get\n" + e.number + "\n" + e.description);
            }
        }

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

No branches or pull requests

1 participant