// render the element if it's not BODY.
if (!is_body) {
- Roo.log(this[cntr](true));
// if parent was disabled, then do not try and create the children..
- if(this[cntr](true) === false || this[cntr](true) === null){
+ if(this[cntr](true) === false || this[cntr](true) === null || typeof(this[cntr](true)) == 'undefined'){
tree.items = [];
return tree;
}