Bug Tracker

Opened 11 years ago

Closed 10 years ago

#3474 closed bug (invalid)

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

Change History (1)

comment:1 Changed 10 years ago by dmethvin

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 .

Note: See TracTickets for help on using tickets.