* Performs a layout update.
*/
layout : function(){
- if(this.updating) return;
+ if(this.updating) {
+ return;
+ }
var size = this.getViewSize();
var w = size.width;
var h = size.height;
if (typeof(Roo[cfg.xtype]) != 'undefined') {
ret = new Roo[cfg.xtype](cfg); // new panel!!!!!
+ this.add(region, ret);
} else {
alert("Can not add '" + cfg.xtype + "' to BorderLayout");