projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19db126
)
Roo/BorderLayout.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:44:18 +0000
(13:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 05:44:18 +0000
(13:44 +0800)
Roo/BorderLayout.js
patch
|
blob
|
history
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
876da0b
..
f9419f7
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-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...
+ nb =
{}
; /// find first...
break;
case 'GridPanel':
@@
-477,10
+477,15
@@
layout.addxtype({
// add children..
Roo.each(xitems, function(i) {
-
+ if (nb === true && !i.background) {
+ nb = i;
+ }
ret.addxtype(i);
});
this.endUpdate();
+ if (nb && nb !== true) {
+
+ }
return ret;
}