projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1793e52
)
Roo/BorderLayout.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:58:45 +0000
(13:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:58:45 +0000
(13:58 +0800)
Roo/BorderLayout.js
patch
|
blob
|
history
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
0807fbd
..
3dfc480
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-475,13
+475,14
@@
layout.addxtype({
}
this.beginUpdate();
// add children..
-
+ var region = '';
Roo.each(xitems, function(i) {
- if (nb) { Roo.log( JSON.stringify([i.region,i.background])); }
+ region = nb && i.region && !i.background ? i.region : false;
+
var add = ret.addxtype(i);
- if (
nb !== false && !i.background && i.
region) {
- nb[
i.
region] = add;
+ if (region) {
+ nb[region] = add;
}
});