- Tree does not collase after expanding tree with function.
- There is a bug that does not reflect the 'state.expanded' value,
so i apply a patch that gives a click event.
Change-Id: I5bb850e4979e0c928fa9ca7db98dfb8b7ea6e337
Signed-off-by: ChangHyun Lee <leechwin.lee@samsung.com>
logger.info('[Check] checked: ' + localNode.name);
_nodeSelected(event, node);
- $tree.treeview('expandNode', [node, { silent: false }]);
+
+ // FIXME: 'state.expanded = true' is not reflected in the node.
+ //$tree.treeview('expandNode', [node, { silent: false }]);
+ var $expand = node.$el.find('.expand-icon.glyphicon-plus')[0];
+ if ($expand) {
+ $expand.click();
+ }
localNode.selfChecked = true;
// 1. pre-dependency analysis