Ext version tested:
  • Ext 3.3.0
Adapter used:
  • ext
css used:
  • only default ext-all.css
Browser versions tested against:
  • IE8
  • FF3
Operating System:
  • WinXP SP3
Description:
  • If the beforeShow handler returns false when a tooltip has not been showed yet the following js error happens.
    "this.body is undefined"
Test Case:
Script
Code:
     
Ext.onReady(function(){
    new Ext.ToolTip({
        id: "myTooltip",
        html: "Hello!",
        target: "tooltipTarget",
        listeners: {
            beforeshow: {
                fn: function(el){
                    return false;
                }
            }
        }
    });
});
Html
Code:
<div id="tooltipTarget">I'm tooltip's target</div>
Steps to reproduce the problem:
  • Just cause the tooltip's showing. The js error appears only when a tooltip has not been showed yet. (I provided the simplified sample code, in my real page I use .delegate property)
Possible fix:
  • not provided