projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35681bd
)
Roo/bootstrap/layout/Border.js
author
Alan Knowles
<alan@roojs.com>
Fri, 30 Jun 2017 09:08:31 +0000
(17:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 30 Jun 2017 09:08:31 +0000
(17:08 +0800)
Roo/bootstrap/layout/Border.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/layout/Border.js
b/Roo/bootstrap/layout/Border.js
index
9c0c9d8
..
34b7e6f
100644
(file)
--- a/
Roo/bootstrap/layout/Border.js
+++ b/
Roo/bootstrap/layout/Border.js
@@
-46,13
+46,13
@@
Roo.extend(Roo.bootstrap.layout.Border, Roo.bootstrap.layout.Manager, {
* @param {Object} config The regions config object
* @return {BorderLayoutRegion} The new region
*/
- addRegion : function(
target,
config)
+ addRegion : function(config)
{
- if(!this.regions[
target
]){
+ if(!this.regions[
config.region
]){
var r = this.factory(config);
this.bindRegion(r);
}
- return this.regions[target];
+ return this.regions[
config.
target];
},
// private (kinda)