Roo/bootstrap/layout/Border.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 06:52:06 +0000 (14:52 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 06:52:06 +0000 (14:52 +0800)
Roo/bootstrap/layout/Border.js

index 02c5cd0..e0bda1e 100644 (file)
@@ -41,6 +41,19 @@ Roo.bootstrap.layout.Border = function(config){
 Roo.bootstrap.layout.Border.regions =  ["north","south","east","west","center"];
 
 Roo.extend(Roo.bootstrap.layout.Border, Roo.bootstrap.layout.Manager, {
+    
+    onRender : function(ctr, pos)
+    {
+        Roo.each(Roo.bootstrap.layout.Border.regions, function(region) {
+            if(this.regions[region]){
+                this.regions.render(this.el, pos);
+            }
+        },this);
+        
+        
+    }
+    
+    
     /**
      * Creates and adds a new region if it doesn't already exist.
      * @param {String} target The target region key (north, south, east, west or center).