mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Merge pull request #218 from gwills/master
IE 10 not reading DZI file correctly
This commit is contained in:
commit
c9f60fd468
@ -292,6 +292,9 @@ $.TileSource.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
callback = function( data ){
|
callback = function( data ){
|
||||||
|
if( typeof(data) === "string" ) {
|
||||||
|
data = $.parseXml( data );
|
||||||
|
}
|
||||||
var $TileSource = $.TileSource.determineType( _this, data, url );
|
var $TileSource = $.TileSource.determineType( _this, data, url );
|
||||||
if ( !$TileSource ) {
|
if ( !$TileSource ) {
|
||||||
_this.raiseEvent( 'open-failed', { message: "Unable to load TileSource", source: url } );
|
_this.raiseEvent( 'open-failed', { message: "Unable to load TileSource", source: url } );
|
||||||
|
Loading…
Reference in New Issue
Block a user