Opened 14 years ago
Closed 13 years ago
#4591 closed bug (invalid)
[tooltip] Unable to disable tooltip before removing an element
Reported by: | pwnedd | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | unfiled | Version: | 1.3.2 |
Keywords: | tooltip | Cc: | |
Blocked by: | Blocking: |
Description
When attempting to remove an element which has a tooltip associated with it, it does not always seem to disassociate cleanly. Upon the first mouse-move, an error occurs at jquery.tooltip.js:238,
left = event.pageX + settings(current).left;
current is still set to the (now removed) element, and so "settings(current) is undefined" is displayed.
Using "unbind" on the element before removing it works in some cases, but in others it does not work.
Would it be possible to create a method like "removeTooltip" which would unbind the even hanlders and force current to to set to null?
Note: See
TracTickets for help on using
tickets.
This is not a jQuery core bug. Please use the jQuery forums or contact the author via the method they request. For jQuery UI plugins, please file a bug on http://dev.jqueryui.com .