Set the imageSrc bevore the super class is initialized in Popup.FramedCloud. Thanks avlee. r=elemeoine,me (closes #1475)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6750 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2008-04-01 07:08:07 +00:00
parent d15ab68360
commit 5fbfb504f4

View File

@@ -214,9 +214,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';
},
/**