Opened 14 years ago

Closed 14 years ago

#6518 closed defect (invalid)

dijit.hideTooltip() method should remove the arroundNode parameter

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit Version: 1.1.0
Keywords: dijit Tooltip Cc: [email protected]…; [email protected]
Blocked By: Blocking:


The dijit.hideTooltip() method has a parameter name arroundNode. I'd read the code and found it in fact totally useless. Furthermore, the code below make me very difficult to hide the not closed correclty tooltip hard to be hidden:

this.aroundNode !== aroundNode){



I suggest to remove this parameter. It has nothing to do with the other codes in this method but preventing developers to close the tooltip easily.

Change History (1)

comment:1 Changed 14 years ago by bill

Resolution: invalid
Status: newclosed

Sorry, this parameter is intentional, to prevent race conditions where widgetA closes the tooltip for widgetB. Think of it like the handle returned by dojo.connect().

Note: See TracTickets for help on using tickets.