From 73ebc928e8e2c40da35d5035034ef6b03de92a85 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Jun 2017 13:54:28 +0800 Subject: [PATCH] Roo/bootstrap/layout/Border.js --- Roo/bootstrap/layout/Border.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Roo/bootstrap/layout/Border.js b/Roo/bootstrap/layout/Border.js index 170b1c61f3..c68833672c 100644 --- a/Roo/bootstrap/layout/Border.js +++ b/Roo/bootstrap/layout/Border.js @@ -476,20 +476,21 @@ layout.addxtype({ var validRegions = ["north","south","east","west","center"]; var target = cfg.region; + cfg.manager = this; var r = Roo.bootstrap.layout; switch(target){ case "north": - return new r.North(mgr, config); + return new r.North(config); case "south": - return new r.South(mgr, config); + return new r.South(config); case "east": - return new r.East(mgr, config); + return new r.East(config); case "west": - return new r.West(mgr, config); + return new r.West(config); case "center": - return new r.Center(mgr, config); + return new r.Center(config); } throw 'Layout region "'+target+'" not supported.'; } -- 2.39.2