called when the user has requested to collapse the node
Usage
function (node) (view source)
if(node.isExpandable){if(node.state == "LOADING"){// ignore clicks while we are in the process of loading datareturn;
}
node.collapse();
if(this.persist&& node.item){deletethis._openedItemIds[this.model.getIdentity(node.item)];
this._saveState();
}}