From 4511ce2d72b7e187c95baa1fbd948bb01f8953d0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Jun 2017 13:55:43 +0800 Subject: [PATCH] Roo/bootstrap/layout/Border.js --- Roo/bootstrap/layout/Border.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/layout/Border.js b/Roo/bootstrap/layout/Border.js index 1e6ec3afe8..fcec876071 100644 --- a/Roo/bootstrap/layout/Border.js +++ b/Roo/bootstrap/layout/Border.js @@ -23,7 +23,7 @@ the container size if it is not the body element. * Create a new Border * @param {Object} config Configuration options */ -Roo.bootstrap.layout.Border= function(config){ +Roo.bootstrap.layout.Border = function(config){ config = config || {}; Roo.bootstrap.layout.Border.superclass.constructor.call(this, config); this.factory = config.factory || Roo.BorderLayout.RegionFactory; @@ -36,7 +36,9 @@ Roo.bootstrap.layout.Border= function(config){ } }; -Roo.extend(Roo.BorderLayout, Roo.LayoutManager, { +Roo.bootstrap.layout.Border.regions = + +Roo.extend(Roo.bootstrap.layout.Border, Roo.bootstrap.layout.Manager, { /** * 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). -- 2.39.2