OpenLayers OpenLayers

Changeset 6752

Show
Ignore:
Timestamp:
04/01/08 07:00:45 (9 months ago)
Author:
crschmidt
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/2.6/lib/OpenLayers/Popup/FramedCloud.js

    r6734 r6752  
    2828     */ 
    2929    panMapIfOutOfView: true, 
    30  
    31     /** 
    32      * Property: imageSrc 
    33      * {String} 
    34      */ 
    35     imageSrc: null, 
    3630 
    3731    /** 
     
    215209                        closeBoxCallback) { 
    216210 
     211        this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png'; 
    217212        OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments); 
    218213        this.contentDiv.className = "olFramedCloudPopupContent"; 
    219         this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png'; 
    220214    }, 
    221215