Opened 15 years ago
Closed 15 years ago
#529 closed defect (worksforme)
wrong node for dojo.dom.getAncestors(node, null, true)
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi!
If I use
parent = dojo.dom.getAncestors(node, null, true);
I don't get the parent node as expected but the node itself. Is this for purpose or is it an error?
Regards, Jochen Zimmermann
Note: See
TracTickets for help on using
tickets.
This is by design; the first node passed back in the array of nodes will always be the node passed.