TASKPM/ganttzk
Óscar González Fernández f4f40cd9b7 [Bug #793] Fix bug
CONTENTS_CHANGED event doesn't work well when the node has children as
the new content.

When TreeViewStateSnapshot.openIfRequired(Treeitem) tries to open the
previously opened element, the associated Treeitem has the _loaded
property set to true. As you can see in [1] this avoids the children
to be rendered.

Instead a INTERVAL_REMOVED and INTERVAL_ADDED are fired so the the
Treeitems for the elements moved are removed and recreated completely
avoiding that problem.

This introduces a new issue: the node loses its selection status but
can be fixed using a similar approach to TreeViewStateSnapshot.

[1] org.zkoss.zul.Tree.renderItem0(Renderer, Treeitem, Object)
2011-01-06 21:29:16 +01:00
..
src [Bug #793] Fix bug 2011-01-06 21:29:16 +01:00
pom.xml Small fixes in debian/ folder and bump to version 0.9.2. 2011-01-04 16:07:27 +01:00