projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e434be
)
Roo/BorderLayout.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:42:27 +0000
(13:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:42:27 +0000
(13:42 +0800)
Roo/BorderLayout.js
patch
|
blob
|
history
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
088134a
..
876da0b
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-393,7
+393,7
@@
layout.addxtype({
xitems = cfg.items;
delete cfg.items;
}
-
+ var nb = false;
switch(cfg.xtype)
{
@@
-434,7
+434,7
@@
layout.addxtype({
ret = new Roo[cfg.xtype](layout, cfg); // new panel!!!!!
//console.log('adding nested layout panel ' + cfg.toSource());
this.add(region, ret);
-
+ nb = true; /// find first...
break;
case 'GridPanel':
@@
-475,7
+475,9
@@
layout.addxtype({
}
this.beginUpdate();
// add children..
+
Roo.each(xitems, function(i) {
+
ret.addxtype(i);
});
this.endUpdate();