git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git]
/
docs
/
source
/
TabPanel.html
diff --git
a/docs/source/TabPanel.html
b/docs/source/TabPanel.html
index
46a6e23
..
00ce91e
100644
(file)
--- a/
docs/source/TabPanel.html
+++ b/
docs/source/TabPanel.html
@@
-7,7
+7,7
@@
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.
2.2
+ * Ext JS Library 3.
3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
@@
-748,13
+748,14
@@
new Ext.TabPanel({
// private
delegateUpdates : function(){
// private
delegateUpdates : function(){
+ var rendered = this.rendered;
if(this.suspendUpdates){
return;
}
if(this.suspendUpdates){
return;
}
- if(this.resizeTabs &&
this.
rendered){
+ if(this.resizeTabs && rendered){
this.autoSizeTabs();
}
this.autoSizeTabs();
}
- if(this.enableTabScroll &&
this.
rendered){
+ if(this.enableTabScroll && rendered){
this.autoScrollTabs();
}
},
this.autoScrollTabs();
}
},
@@
-829,6
+830,8
@@
new Ext.TabPanel({
this.stack.add(item);
this.layout.setActiveItem(item);
this.stack.add(item);
this.layout.setActiveItem(item);
+ // Need to do this here, since setting the active tab slightly changes the size
+ this.delegateUpdates();
if(this.scrolling){
this.scrollToTab(item, this.animScroll);
}
if(this.scrolling){
this.scrollToTab(item, this.animScroll);
}