Changeset 2014

Show
Ignore:
Timestamp:
03/19/10 16:11:39 (4 months ago)
Author:
tschaub
Message:

Making the SliderTip work with Ext 3.2. r=ahocevar closes #241

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core/trunk/geoext/lib/GeoExt/widgets/tips/SliderTip.js

    r1956 r2014  
    8888     */ 
    8989    registerThumbListeners: function() { 
    90         this.slider.thumb.on({ 
     90        // Ext 3.2 slider no longer has a thumb 
     91        var el = this.slider.thumb || this.slider.thumbs[0].tracker.el; 
     92        el.on({ 
    9193            "mouseover": function() { 
    9294                this.onSlide(this.slider); 
     
    112114        this.body.update(this.getText(slider)); 
    113115        this.doAutoWidth(); 
    114         this.el.alignTo(slider.thumb, 'b-t?', this.offsets); 
     116        // Ext 3.2 slider no longer has a thumb 
     117        var el = slider.thumb || slider.thumbs[0].tracker.el; 
     118        this.el.alignTo(el, 'b-t?', this.offsets); 
    115119    }, 
    116120