Opened 15 years ago
Closed 14 years ago
#315 closed defect (worksforme)
hasChildNodes() Returns true Too Many Times
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | hisChildNodes, moveChildren | Cc: | |
Blocked By: | Blocking: |
Description
With reference to Ticket #314 (http://dojotoolkit.org/trac/ticket/314) it seems that in the moveChildren
method the call to hasChildNodes()
returns true
one time too many. For example a node with 3 children will have hasChildNodes()
return true
four times.
Attachments (1)
Change History (3)
comment:1 Changed 15 years ago by
Changed 15 years ago by
Attachment: | ticket315-hasChildNodes.html added |
---|
comment:2 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
no response in 6 months, and it works for me, so closing.
Note: See
TracTickets for help on using
tickets.
My guess is that you are getting the text nodes which can live between nodes (at least in Firefox). See attached for an example.