X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/src/widgets/Toolbar.js diff --git a/src/widgets/Toolbar.js b/src/widgets/Toolbar.js index 908187f0..5354d0c9 100644 --- a/src/widgets/Toolbar.js +++ b/src/widgets/Toolbar.js @@ -1,8 +1,8 @@ /*! - * Ext JS Library 3.2.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.Toolbar @@ -132,7 +132,7 @@ Ext.extend(T, Ext.Container, { /** * @cfg {Boolean} enableOverflow - * Defaults to false. Configure true to make the toolbar provide a button + * Defaults to false. Configure true to make the toolbar provide a button * which activates a dropdown Menu to show items which overflow the Toolbar's width. */ /** @@ -376,6 +376,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); },