[OpenLayers-Dev] FireFox Image Loading Bug?
Erik Uzureau
erik.uzureau at metacarta.com
Sat Jul 7 08:56:32 EDT 2007
If anyone can figure out the problem here, I would be forever grateful:
http://dev.openlayers.org/sandbox/euzuro/untiled3/examples/ffbug.html
The problem is that I am getting multiple calbacks to "onload" if I
load an image
twice in a row like this:
var bImg = $("bImg"); //get img DOMElement
bImg.src = "http://www.technoccult.com/wp-content/gonzogothic.jpg";
bImg.src = "http://www.technoccult.com/wp-content/gonzogothic.jpg";
But it only seems to happen if that image has been loaded elsewhere on
the page.
Very strange indeed. See example.
http://dev.openlayers.org/sandbox/euzuro/untiled3/examples/ffbug.html
I still haven-t looked into the OpenLayers.Event/Events classes to see
if the problem might be in there.... but that't the only lead I have
left.
Any feedback is appreciated.
Erik
More information about the Dev
mailing list