Merge pull request #967 from Riksarkivet/moveWithCredentials

Fixed CORS bug in IE 10
This commit is contained in:
Ian Gilman 2016-06-22 11:06:31 -07:00 committed by GitHub
commit eead018195

View File

@ -2119,12 +2119,13 @@ if (typeof define === 'function' && define.amd) {
}
};
try {
request.open( "GET", url, true );
if (withCredentials) {
request.withCredentials = true;
}
try {
request.open( "GET", url, true );
request.send( null );
} catch (e) {
var msg = e.message;