X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..refs/heads/master:/docs/source/Manager.html diff --git a/docs/source/Manager.html b/docs/source/Manager.html index 01fe5a22..8b99011b 100644 --- a/docs/source/Manager.html +++ b/docs/source/Manager.html @@ -3,8 +3,8 @@ The source code - - + + @@ -117,10 +117,16 @@ Ext.define('Ext.menu.Manager', { onMouseDown: function(e) { var me = this, active = me.active, - lastShow = me.lastShow; + lastShow = me.lastShow, + target = e.target; if (Ext.Date.getElapsed(lastShow) > 50 && active.length > 0 && !e.getTarget('.' + Ext.baseCSSPrefix + 'menu')) { me.hideAll(); + // in IE, if we mousedown on a focusable element, the focus gets cancelled and the focus event is never + // fired on the element, so we'll focus it here + if (Ext.isIE && Ext.fly(target).focusable()) { + target.focus(); + } } },