X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2Flayout%2FBorder.js;h=71c57daa61a47665d01024e6cb41531e97defdd3;hb=4e253069a0094293262d053d3ce3743259ff4c2e;hp=d43e259ce1e954288ee320d91ed41d5a879c19c0;hpb=e4d2f2265a5fbfa3d708eab846e12cf9796101ca;p=roojs1 diff --git a/Roo/bootstrap/layout/Border.js b/Roo/bootstrap/layout/Border.js index d43e259ce1..71c57daa61 100644 --- a/Roo/bootstrap/layout/Border.js +++ b/Roo/bootstrap/layout/Border.js @@ -301,7 +301,7 @@ layout.addxtype({ case 'Content': // ContentPanel (el, cfg) case 'Scroll': // ContentPanel (el, cfg) case 'View': - cfg.autoCreate = true; + cfg.autoCreate = cfg.autoCreate || true; ret = new cfg.xns[cfg.xtype](cfg); // new panel!!!!! //} else { // var el = this.el.createChild();