projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2efa172
)
Roo/LayoutRegion.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 31 Jul 2011 05:08:10 +0000
(13:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 31 Jul 2011 05:08:10 +0000
(13:08 +0800)
Roo/LayoutRegion.js
patch
|
blob
|
history
diff --git
a/Roo/LayoutRegion.js
b/Roo/LayoutRegion.js
index
09f2561
..
3cb67ba
100644
(file)
--- a/
Roo/LayoutRegion.js
+++ b/
Roo/LayoutRegion.js
@@
-354,12
+354,17
@@
Roo.extend(Roo.LayoutRegion, Roo.BasicLayoutRegion, {
// overridden
},
// overridden
},
- initTabs : function(){
+ initTabs : function()
+ {
this.bodyEl.setStyle("overflow", "hidden");
this.bodyEl.setStyle("overflow", "hidden");
- var ts = new Roo.TabPanel(this.bodyEl.dom, {
- tabPosition: this.bottomTabs ? 'bottom' : 'top',
- disableTooltips: this.config.disableTabTips
- });
+ var ts = new Roo.TabPanel(
+ this.bodyEl.dom,
+ {
+ tabPosition: this.bottomTabs ? 'bottom' : 'top',
+ disableTooltips: this.config.disableTabTips,
+ toolbar : this.config.toolbar
+ }
+ );
if(this.config.hideTabs){
ts.stripWrap.setDisplayed(false);
}
if(this.config.hideTabs){
ts.stripWrap.setDisplayed(false);
}