Skip to main content

Bug Tracker

Side navigation

#4591 closed bug (invalid)

Opened April 24, 2009 08:46PM UTC

Closed October 13, 2009 01:11AM UTC

[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?

Attachments (0)
Change History (1)

Changed October 13, 2009 01:11AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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 .