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

index 54ccc0e..83f7170 100644 (file)
@@ -293,7 +293,7 @@ layout.addxtype({
             case 'Scroll':  // ContentPanel (el, cfg)
             case 'View': 
                 cfg.autoCreate = true;
-                ret = new Roo[cfg.xtype](cfg); // new panel!!!!!
+                ret = new cfg.xns[cfg.xtype](cfg); // new panel!!!!!
                 //} else {
                 //    var el = this.el.createChild();
                 //    ret = new Roo[cfg.xtype](el, cfg); // new panel!!!!!