PDA

View Full Version : [2.0a1][SOLVED] Ext.QuickTips.register(..) ignores dismissDelay property



mdissel
2 Oct 2007, 3:39 AM
the dismissDelay property doesn't work if you use Ext.QuickTips.register.. It does work when you create a new Ext.ToolTip instance..


Ext.QuickTips.init();
new Ext.ToolTip({
target: 'tip1',
dismissDelay: 30000,
html: 'This is a test msg',
title: 'My Tip Title'
});

Ext.QuickTips.register({
target: 'tip3',
dismissDelay: 30000,
text: 'a nice tooltip with a long delay when the mouse is not moved',
});

(copy paste above code in examples\simple-widgets\qtips.js)

Thanks

Marco

jsakalos
2 Oct 2007, 12:32 PM
Hmmm, QuickTip and ToolTip are not the same things. I'm asking Jack to clarify it.

jack.slocum
2 Oct 2007, 10:16 PM
This has been fixed. It will be in my next commit.

mdissel
3 Oct 2007, 3:18 AM
Solved. Thanks