mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Merge pull request #967 from Riksarkivet/moveWithCredentials
Fixed CORS bug in IE 10
This commit is contained in:
commit
eead018195
@ -2119,12 +2119,13 @@ if (typeof define === 'function' && define.amd) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
try {
|
||||||
|
request.open( "GET", url, true );
|
||||||
|
|
||||||
if (withCredentials) {
|
if (withCredentials) {
|
||||||
request.withCredentials = true;
|
request.withCredentials = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
request.open( "GET", url, true );
|
|
||||||
request.send( null );
|
request.send( null );
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
var msg = e.message;
|
var msg = e.message;
|
||||||
|
Loading…
Reference in New Issue
Block a user