avlee, elemoine, and ahocevar point out that we should change the

initialization of the imageSrc property to be *before* we call the 
superclass. This pullup (Closes #1475), and is the last thing I'm going 
to touch before the 2.6 release. svn merge -r6749:6751 trunk branch.


git-svn-id: http://svn.openlayers.org/branches/openlayers/2.6@6752 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-04-01 11:00:45 +00:00
parent 1c055d4f84
commit b9348dd5d5

View File

@@ -28,12 +28,6 @@ OpenLayers.Popup.FramedCloud =
*/
panMapIfOutOfView: true,
/**
* Property: imageSrc
* {String}
*/
imageSrc: null,
/**
* APIProperty: imageSize
* {<OpenLayers.Size>}
@@ -214,9 +208,9 @@ OpenLayers.Popup.FramedCloud =
initialize:function(id, lonlat, size, contentHTML, anchor, closeBox,
closeBoxCallback) {
this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png';
OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments);
this.contentDiv.className = "olFramedCloudPopupContent";
this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png';
},
/**