projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70eba63
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:41:15 +0000
(18:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:41:15 +0000
(18:41 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
07e0d34
..
131a651
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-94,19
+94,21
@@
Builder = {
// force center region..
cfg.region = 'center';
cfg.background = false;
// force center region..
cfg.region = 'center';
cfg.background = false;
- this.layoutbase = new Ext.BorderLayout(document.body, {
-
- center: {
- titlebar: false,
- autoScroll:false,
- closeOnTab: true,
- tabPosition: 'top',
- //resizeTabs: true,
- alwaysShowTabs: true,
- minTabWidth: 140
- }
- });
-
+ if (!this.layoutbase) {
+
+ this.layoutbase = new Ext.BorderLayout(document.body, {
+
+ center: {
+ titlebar: false,
+ autoScroll:false,
+ closeOnTab: true,
+ tabPosition: 'top',
+ //resizeTabs: true,
+ alwaysShowTabs: true,
+ minTabWidth: 140
+ }
+ });
+ }
this.layoutbase.addxtype( cfg );
this.layoutbase.addxtype( cfg );