Closed TheDom closed 9 years ago
Ah yep - that's probably the right fix. Looks like some browsers don't like undefined in there.
Will look into this soon
Thanks!
https://github.com/jpillora/xdomain/blob/gh-pages/dist/0.6/xdomain.js#L220 does not seem to have the fix of FF24.
Fixing
Fixed, forgot to rebuild with the new xhook version >.<
Thanks for taking care of this!
Great! Thanks :+1:
We are using Dropzone to upload images onto a different domain as
multipart/form-data
.xdomain on Firefox 24 (on Windows) throws the following error though
This occurs on line 221:
It's true,
form
isundefined
at this point, also on Firefox 31.0 (OS X) but there everything works just fine.I patched this line to:
Now the upload works but I'm not sure what other consequences this might bring or why this error occurs in the first place (or how it could be avoided).
Any ideas?