If I change XMLHttpRequest to
function cXMLHttpRequest() {
if (window.location.protocol == "file:") {
this._object = new
window.ActiveXObject('Microsoft.XMLHTTP');
} else {
this._object = oXMLHttpRequest ? new oXMLHttpRequest :
new window.ActiveXObject('Microsoft.XMLHTTP');
}
};
then the code works in IE8. (Obviously doesnt in FF - I am hoping
someone better in JS can fix this up).
The fix need to work for requests are going to both web and file (could
have layers from both). jQuery's structure seems good for this.
Notice: This email and any attachments are confidential. If received in error
please destroy and immediately notify us. Do not copy or disclose the contents.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users