grzegorz.borkowski
16 Jul 2010, 4:55 AM
See Ext samples: section "Miscellanous", sample named "QuickTips". (I don't post a link, in order to not be marked as "requiring moderation" again)
Open it with IE7. However over rectangle entitled "QuickTip" (last one in first row). When tooltip opens, the gray horizontal line at above of the tooltip is visible - it is because header is empty. Seems like problem relates only to IE7 - on other browsers the line is not visible.
The override we use for this:
if(Ext.isIE7) {
Ext.override(Ext.QuickTip, {
setTitle: Ext.QuickTip.prototype.setTitle.createSequence(function(title) {
if(title === '' && !this.closable) {
this.header.dom.style.display = 'none';
} else {
this.header.dom.style.display = '';
}
})
});
}
Open it with IE7. However over rectangle entitled "QuickTip" (last one in first row). When tooltip opens, the gray horizontal line at above of the tooltip is visible - it is because header is empty. Seems like problem relates only to IE7 - on other browsers the line is not visible.
The override we use for this:
if(Ext.isIE7) {
Ext.override(Ext.QuickTip, {
setTitle: Ext.QuickTip.prototype.setTitle.createSequence(function(title) {
if(title === '' && !this.closable) {
this.header.dom.style.display = 'none';
} else {
this.header.dom.style.display = '';
}
})
});
}