projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf3624
)
Roo/BorderLayout.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 06:23:01 +0000
(14:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 13 Dec 2011 06:23:01 +0000
(14:23 +0800)
Roo/BorderLayout.js
patch
|
blob
|
history
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
c0f97fe
..
8d026af
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-496,7
+496,7
@@
layout.addxtype({
region = this.getRegion(r);
if (region) {
// tried using nb[r], but it does not work..
- if(region.panels.getCount() >
1
) {
+ if(region.panels.getCount() >
0
) {
region.showPanel(nb[r]);
}
}