dialog triggering mouseleave
I am using a jQuery UI dialog (modal: true), which works fine.
The div from which the the user opens the dialog has a mouseleave
event bound to it.
When the dialog opens, the mouseleave event on that div instantly gets
triggered (in FF 3.0.10).
(and I don't want that to happen, but I do want a modal dialog)
Questions:
1. Is the dialog triggering this event, or is this the DOM-standard
way of reacting the addition of the 'ui-widget-overlay' div?
2. Any smart way to prevent the event trigger (other than unbinding
the mouseleave event)?
thanks
tom