OpenLayers OpenLayers

Changeset 679

Show
Ignore:
Timestamp:
06/22/06 14:47:51 (3 years ago)
Author:
crschmidt
Message:

In IE, we use the image hack, so changing the img.src doesn't help.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/MouseToolbar.js

    r657 r679  
    171171        if (mode != this.mode) { 
    172172            if (this.mode) { 
    173                 this.buttons[this.mode].firstChild.src = this.buttons[this.mode].imgLocation
     173                OpenLayers.Util.modifyAlphaImageDiv(this.buttons[this.mode], null, null, null, this.buttons[this.mode].imgLocation)
    174174            } 
    175175            if (this.mode == "measure" && mode != "measure") { 
     
    183183            } 
    184184            this.mode = mode; 
    185             this.buttons[mode].firstChild.src = this.buttons[mode].activeImgLocation
     185            OpenLayers.Util.modifyAlphaImageDiv(this.buttons[mode], null, null, null, this.buttons[mode].activeImgLocation)
    186186        }  
    187187    },