OpenLayers OpenLayers

Changeset 5415

Show
Ignore:
Timestamp:
12/14/07 22:51:21 (1 year ago)
Author:
crschmidt
Message:

Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups.
(Closes #1204)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/doc/authors.txt

    r5238 r5415  
    1414Philip Lindsay 
    1515Corey Puffault 
     16Gregers Rygg 
    1617Tim Schaub 
    1718Christopher Schmidt 
  • trunk/openlayers/lib/OpenLayers/Popup/AnchoredBubble.js

    r4985 r5415  
    129129     */ 
    130130    setOpacity:function(opacity) {  
    131         if (opacity != undefined) { 
    132             this.opacity = opacity;  
    133         } 
     131        OpenLayers.Popup.Anchored.prototype.setOpacity.call(this, opacity); 
    134132         
    135133        if (this.div != null) { 
    136             if (this.contentDiv != null) { 
    137                 OpenLayers.Rico.Corner.changeOpacity(this.contentDiv,  
     134            if (this.groupDiv != null) { 
     135                OpenLayers.Rico.Corner.changeOpacity(this.groupDiv,  
    138136                                                     this.opacity); 
    139137            } 
  • trunk/openlayers/tests/list-tests.html

    r5401 r5415  
    3333    <li>test_Popup.html</li> 
    3434    <li>Popup/test_Anchored.html</li> 
     35    <li>Popup/test_AnchoredBubble.html</li> 
    3536    <li>test_Feature.html</li> 
    3637    <li>Feature/test_Vector.html</li>