Merge pull request #218 from gwills/master

IE 10 not reading DZI file correctly
This commit is contained in:
iangilman 2013-10-22 10:35:05 -07:00
commit c9f60fd468

View File

@ -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 } );