Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / examples / ux / GroupTabPanel.js
index 060fc81..57de936 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * Ext JS Library 3.1.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.1.1
+ * Copyright(c) 2006-2010 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -251,6 +251,7 @@ Ext.ux.GroupTabPanel = Ext.extend(Ext.TabPanel, {
         }\r
         if(this.activeGroup != group && this.fireEvent('beforegroupchange', this, group, this.activeGroup) !== false){\r
             if(this.activeGroup){\r
+                this.activeGroup.activeTab = null;\r
                 var oldEl = this.getGroupEl(this.activeGroup);\r
                 if(oldEl){\r
                     Ext.fly(oldEl).removeClass('x-grouptabs-strip-active');\r