projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c3a54
)
Roo/BorderLayout.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 06:06:22 +0000
(14:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 06:06:22 +0000
(14:06 +0800)
Roo/BorderLayout.js
patch
|
blob
|
history
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
50cb276
..
9475342
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-490,9
+490,12
@@
layout.addxtype({
// make the last non-background panel active..
//if (nb) { Roo.log(nb); }
if (nb) {
+
for(var r in nb) {
- if (r == undefined) continue;
- this.getRegion(r).showPanel(nb[r]);
+ region = this.getRegion(r);
+ if (region) {
+ showPanel(nb[r]);
+ }
}
}
return ret;