[OpenLayers-Commits] r3606 - sandbox/euzuro/untiled3/lib/OpenLayers/Tile
commits at openlayers.org
commits at openlayers.org
Thu Jul 5 19:05:01 EDT 2007
Author: euzuro
Date: 2007-07-05 19:05:01 -0400 (Thu, 05 Jul 2007)
New Revision: 3606
Modified:
sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js
Log:
use proper flag variable
Modified: sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js
===================================================================
--- sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js 2007-07-05 22:55:01 UTC (rev 3605)
+++ sandbox/euzuro/untiled3/lib/OpenLayers/Tile/Image.js 2007-07-05 23:05:01 UTC (rev 3606)
@@ -95,7 +95,7 @@
// since the 'loadend' will not get fired (since the image will
// not load. This keeps start/finish pairings even.
//
- if (this.loading) {
+ if (this.isLoading) {
this.events.triggerEvent("reload");
}
@@ -106,7 +106,7 @@
return false;
}
- this.loading = true;
+ this.isLoading = true;
this.events.triggerEvent("loadstart");
if (this.imgDiv == null) {
@@ -218,7 +218,7 @@
//bind a listener to the onload of the image div so that we
// can register when a tile has finished loading.
var onload = function() {
- this.loading = false;
+ this.isLoading = false;
this.events.triggerEvent("loadend");
}
OpenLayers.Event.observe(this.imgDiv, 'load',
More information about the Commits
mailing list