From 5fbfb504f4ce40326a5bd8cb3a018ff22505b47d Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 1 Apr 2008 07:08:07 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Popup/FramedCloud.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Popup/FramedCloud.js b/lib/OpenLayers/Popup/FramedCloud.js index f99eaa250e..5a563d1e48 100644 --- a/lib/OpenLayers/Popup/FramedCloud.js +++ b/lib/OpenLayers/Popup/FramedCloud.js @@ -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'; }, /**