*/
Roo.bootstrap.layout.Border = function(config){
config = config || {};
-
Roo.bootstrap.layout.Border.superclass.constructor.call(this, config);
+
+
Roo.each(Roo.bootstrap.layout.Border.regions, function(region) {
if(config[region]){
config[region].region = region;
},
// private (kinda)
- bindRegion : function(r)
- {
+ bindRegion : function(r){
this.regions[r.config.region] = r;
r.on("visibilitychange", this.layout, this);
*/
layout : function()
{
- Roo.log('calling layout!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
+ Roo.log('calling layout!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
if(this.updating) {
return;
},
+
// private
factory : function(cfg)
{
cfg.mgr = this;
var r = Roo.bootstrap.layout;
-
+ Roo.log(target);
switch(target){
case "north":
return new r.North(cfg);