Side navigation
#3797 closed bug (invalid)
Opened January 06, 2009 07:42PM UTC
Closed October 13, 2009 01:02AM UTC
[tooltip] multiple applications of the init routine break the tip
| Reported by: | ccarey | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.3 | 
| Component: | unfiled | Version: | 1.2.6 | 
| Keywords: | Cc: | ||
| Blocked by: | Blocking: | 
Description
The first one works
$(element).tooltip();
the second one breaks because the title was blanked
$(element).tooltip();
Occasionally when rendering dynamic content it is useful (or necessary) to apply the tooltip() to newly created elements with the same selection criteria.
The fix is simple enough - just check for the presence of this.tooltipTitle on the element before overwrite (see attached revision.
Attachments (1)
Change History (1)
Changed October 13, 2009 01:02AM UTC by comment:1
| resolution: | → invalid | 
|---|---|
| status: | new → closed | 
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 .