Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / docs / source / Toolbar.html
index afe79e4..dea4ac5 100644 (file)
@@ -7,7 +7,7 @@
 </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
@@ -140,7 +140,7 @@ Ext.extend(T, Ext.Container, {
 
     <div id="cfg-Ext.Toolbar-enableOverflow"></div>/**
      * @cfg {Boolean} enableOverflow
-     * Defaults to false. Configure <code>true<code> to make the toolbar provide a button
+     * Defaults to false. Configure <tt>true</tt> to make the toolbar provide a button
      * which activates a dropdown Menu to show items which overflow the Toolbar's width.
      */
     <div id="cfg-Ext.Toolbar-buttonAlign"></div>/**
@@ -384,6 +384,9 @@ Ext.extend(T, Ext.Container, {
     // private
     onRemove : function(c){
         Ext.Toolbar.superclass.onRemove.call(this);
+        if (c == this.activeMenuBtn) {
+            delete this.activeMenuBtn;
+        }
         this.trackMenu(c, true);
     },