Roo/bootstrap/layout/Border.js
authorAlan Knowles <alan@roojs.com>
Mon, 3 Jul 2017 06:03:49 +0000 (14:03 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 3 Jul 2017 06:03:49 +0000 (14:03 +0800)
Roo/bootstrap/layout/Border.js

index ad6e583..54ccc0e 100644 (file)
@@ -328,7 +328,8 @@ layout.addxtype({
                 }
                 cfg.layout  = new Roo.bootstrap.layout.Border(clayout);
                 
-                ret = new Roo[cfg.xtype](cfg); // new panel!!!!!
+                
+                ret = new cfg.xns[cfg.xtype](cfg); // new panel!!!!!
                 //console.log('adding nested layout panel '  + cfg.toSource());
                 this.add(region, ret);
                 nb = {}; /// find first...