Opened 13 years ago
Closed 13 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: |
Description
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:
if(!this.aroundNode this.aroundNode !== aroundNode){ return;
}
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.
Note: See
TracTickets for help on using
tickets.
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().