exoplatform/ks — pull request #34 by hieulai (2012-05-22 10:36:25+00:00)
Title: Fix/2.2.x/ks 4386

* Resolve the CPU leak in PageTreeMacro
{code}
TreeNode node = TreeUtils.getDescendants(params, context);
..
node.pushDescendants(context);
{code}
It's unnecessary to push all descendants in order to create a tree node at this stage. Because only its path is used later:
{code}
.append(node.getPath())
{code}
* The page tree macro should show the first level of children by default
* The loading animation of tree should be smoother by adding "loading.."