Bug 263853. Neither Alt+down nor F4 key are listing the URLs from the address bar. Patch by gavin.sharp@gmail.com, r=mconnor, a=shaver
git-svn-id: svn://10.0.0.236/trunk@173872 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
405e9aa7fd
commit
2c677ff8d7
@ -324,6 +324,15 @@
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="toggleHistoryPopup">
|
||||
<body><![CDATA[
|
||||
if (!this.popup.mPopupOpen)
|
||||
this.showHistoryPopup();
|
||||
else
|
||||
this.closePopup();
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<!-- ::::::::::::: event dispatching ::::::::::::: -->
|
||||
|
||||
<method name="fireEvent">
|
||||
@ -395,6 +404,16 @@
|
||||
if (aEvent.shiftKey)
|
||||
cancel = this.mController.handleDelete();
|
||||
break;
|
||||
case KeyEvent.DOM_VK_DOWN:
|
||||
case KeyEvent.DOM_VK_UP:
|
||||
if (aEvent.altKey)
|
||||
this.toggleHistoryPopup();
|
||||
break;
|
||||
#ifndef XP_MACOSX
|
||||
case KeyEvent.DOM_VK_F4:
|
||||
this.toggleHistoryPopup();
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (cancel) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user