'this'. not 'marker'... cut/copy/paste from im discussion.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@391 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -44,7 +44,7 @@ OpenLayers.Marker.prototype = {
|
||||
|
||||
//load marker events from data
|
||||
if (this.data != null && this.data.loadEvents != null) {
|
||||
this.data.loadEvents(marker);
|
||||
this.data.loadEvents(this);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user