Roo/BorderLayout.js
authorAlan Knowles <alan@roojs.com>
Tue, 8 Apr 2014 12:34:25 +0000 (20:34 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 8 Apr 2014 12:34:25 +0000 (20:34 +0800)
Roo/BorderLayout.js

index 1cf876f..34e69b0 100644 (file)
@@ -474,6 +474,7 @@ layout.addxtype({
                 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");