I have a third-party control that iterates upwards through a menu hierarchy using element id's to get an ascendant element. Their js goes like so;
while(!e.id)
{
e = e.parentNode;
}
However, when Ext.QuickTips.init() is executed, many of these empty id's are given a value 'ext-genxxxx', where xxxx is a number. This breaks the third-party control's behaviour, because the while loop is exited too early.
Any idea why this is happening? I have a (pretty horrid) workaround, but I'm curious as to what's going on under the hood.
Hmm, I wouldn't have expected the quicktips to 'touch' elements that it doesn't use. Could you post a simple test case with that 3rd party control (which one?).
The problem is in the UltraWebMenu item's onmouseout event listener, so move the mouse pointer over the items and you should get an alert message saying "oMenu == null".
To get around this, I've removed Infragistic's event listener and added my own implementation which tests the id for "ext-gen" as well as empty (and also removes that darn stupid alert message!).