do not change the src of broken images, as this prevents from being able to right-click on the image and see the server error, p=rdewit, r=me (closes #2318)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9771 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -380,7 +380,6 @@ OpenLayers.Util.onImageLoadError = function() {
|
||||
this.src = this.src;
|
||||
}
|
||||
} else {
|
||||
this.src = OpenLayers.Util.getImagesLocation() + "blank.gif";
|
||||
OpenLayers.Element.addClass(this, "olImageLoadError");
|
||||
}
|
||||
this.style.display = "";
|
||||
|
||||
Reference in New Issue
Block a user