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

XMLHttpRequest emits onreadystatechange but not onload event #142

Open
arthursw opened this issue Nov 26, 2014 · 1 comment
Open

XMLHttpRequest emits onreadystatechange but not onload event #142

arthursw opened this issue Nov 26, 2014 · 1 comment

Comments

@arthursw
Copy link

Dajaxice modifies the XMLHttpRequest object, which makes it impossible to reach the onload event when requesting an arraybuffer.

I managed to save the original XMLHttpRequest object into a variable (for example window.OriginalXmlHttpRequest = XmlHttpRequest) before loading dajaxice, and then use my variable to de the request.

http://stackoverflow.com/questions/27103875/xmlhttprequest-emits-onreadystatechange-but-not-onload-event-using-dajaxice

@nmgeek
Copy link

nmgeek commented Sep 12, 2015

This looks like a duplicate of #90.

Try this in your settings file:

DAJAXICE_XMLHTTPREQUEST_JS_IMPORT = False

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

2 participants