Port over a regression fix from Mozilla.
git-svn-id: svn://10.0.0.236/trunk@132856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
068952981b
commit
4c3a4fe822
@ -149,7 +149,9 @@
|
||||
<binding id="input-box">
|
||||
<content context="_child">
|
||||
<children/>
|
||||
<xul:menupopup onpopupshowing="this.parentNode.firstChild.focus(); this.parentNode.doPopupItemEnabling(this);"
|
||||
<xul:menupopup onpopupshowing="if (document.commandDispatcher.focusedElement != this.parentNode.firstChild)
|
||||
this.parentNode.firstChild.focus();
|
||||
this.parentNode.doPopupItemEnabling(this);"
|
||||
oncommand="this.parentNode.doCommand(event.originalTarget.getAttribute('cmd'));">
|
||||
<xul:menuitem label="&undoCmd.label;" accesskey="&undoCmd.accesskey;" cmd="cmd_undo"/>
|
||||
<xul:menuseparator/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user