Skip to main content

Bug Tracker

Side navigation

#3474 closed bug (invalid)

Opened October 13, 2008 12:37AM UTC

Closed October 12, 2009 11:57PM UTC

[tooltip] tooltip error when bodyHandler returns null, shows empty tooltip when bodyHandler returns empty string

Reported by: dsmith312 Owned by:
Priority: minor Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: tooltip Cc:
Blocked by: Blocking:
Description

In using the tooltip to dynamically show validation error for instance, it'd be nice if it gracefully didn't show the tooltip when bodyHandler returns null or empty string. Currently an error occurs in the error console when bodyHander returns null, and shows an empty tooltip when bodyHandler returns an empty string.

In a test copy of the tooltip code, checking for null or empty string in the save() method and returning seemed to fix it without any adverse effect.

Attachments (0)
Change History (1)

Changed October 12, 2009 11:57PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .