Roo/bootstrap/layout/Border.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jun 2017 06:46:07 +0000 (14:46 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jun 2017 06:46:07 +0000 (14:46 +0800)
Roo/bootstrap/layout/Border.js

index f18b3f6..24655fb 100644 (file)
@@ -310,7 +310,7 @@ layout.addxtype({
                 break;
             */
             
-            case 'NestedLayoutPanel': 
+            case 'Nest': 
                 // create a new Layout (which is  a Border Layout...
                 var el = this.el.createChild();
                 var clayout = cfg.layout;
@@ -319,7 +319,7 @@ layout.addxtype({
                 // replace this exitems with the clayout ones..
                 xitems = clayout.items;
                  
-                
+                // force background off if it's in center...
                 if (region == 'center' && this.active && this.getRegion('center').panels.length < 1) {
                     cfg.background = false;
                 }