"GeoRSS layer triggers loadstart event twice", from Bart. Includes tests.

(Closes #1580)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7387 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-06-19 22:08:10 +00:00
parent c2b892acb9
commit 1827ace4cd
2 changed files with 12 additions and 1 deletions

View File

@@ -121,7 +121,6 @@ OpenLayers.Layer.GeoRSS = OpenLayers.Class(OpenLayers.Layer.Markers, {
moveTo:function(bounds, zoomChanged, minor) {
OpenLayers.Layer.Markers.prototype.moveTo.apply(this, arguments);
if(this.visibility && !this.loaded){
this.events.triggerEvent("loadstart");
this.loadRSS();
}
},