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.2.1 - Released 04/27/2010
[extjs.git]
/
src
/
widgets
/
TabPanel.js
diff --git
a/src/widgets/TabPanel.js
b/src/widgets/TabPanel.js
index
c963770
..
bb69777
100644
(file)
--- a/
src/widgets/TabPanel.js
+++ b/
src/widgets/TabPanel.js
@@
-1,5
+1,5
@@
/*!
/*!
- * Ext JS Library 3.2.
0
+ * Ext JS Library 3.2.
1
* 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
@@
-588,9
+588,6
@@
new Ext.TabPanel({
if(this.rendered){
var items = this.items;
this.initTab(c, items.indexOf(c));
if(this.rendered){
var items = this.items;
this.initTab(c, items.indexOf(c));
- if(items.getCount() == 1 && !this.collapsed){
- this.syncSize();
- }
this.delegateUpdates();
}
},
this.delegateUpdates();
}
},
@@
-817,10
+814,10
@@
new Ext.TabPanel({
Ext.fly(oldEl).removeClass('x-tab-strip-active');
}
}
Ext.fly(oldEl).removeClass('x-tab-strip-active');
}
}
+ this.activeTab = item;
if(item){
var el = this.getTabEl(item);
Ext.fly(el).addClass('x-tab-strip-active');
if(item){
var el = this.getTabEl(item);
Ext.fly(el).addClass('x-tab-strip-active');
- this.activeTab = item;
this.stack.add(item);
this.layout.setActiveItem(item);
this.stack.add(item);
this.layout.setActiveItem(item);