DescriptionFixes issue 1092.
Unattached nodes have no className, so their className
never matched idClass, which made domita think that
the parent belonged to some other gadget. I added a
check to return null if we hit document.body (i.e.
it really does belong to another gadget) and added
code to return the parnet node if it exits the loop
(i.e. it's unattached).
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fix ancestry for unattached nodes #
Total comments: 1
Patch Set 3 : Fix ancestry for unattached nodes #MessagesTotal messages: 8
|