Roo/BorderLayout.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 05:53:01 +0000 (13:53 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 10 May 2010 05:53:01 +0000 (13:53 +0800)
Roo/BorderLayout.js

index 141d726..3595014 100644 (file)
@@ -408,7 +408,10 @@ layout.addxtype({
                 var el = this.el.createChild();
                 var clayout = cfg.layout;
                 delete cfg.layout;
-                
+                clayout.items   = clayout.items  || [];
+                // replace this exitems with the clayout ones..
+                xitems = clayout.items;
+                 
                 
                 if (region == 'center' && this.active && this.getRegion('center').panels.length < 1) {
                     cfg.background = false;