Workaround to the Event problem.

This commit is contained in:
mgalli%geckonnection.com 2006-02-24 21:29:33 +00:00
parent 83dfdb538f
commit 726f1d7dbe
2 changed files with 3 additions and 3 deletions

View File

@ -1320,7 +1320,7 @@ function MenuDisableEscapeKeys() {
function MenuHandleMenuEscape(e) {
/* This applies because our <key /> handlers would not work when Menu popups are active */
if( gShowingMenuCurrent && (e.keyCode==e.DOM_VK_F11||e.keyCode==e.DOM_VK_F23) ) {
if( gShowingMenuCurrent && (e.keyCode==e.DOM_VK_F11||e.keyCode==e.DOM_VK_F24) ) {
BrowserMenuSpin();
}
}

View File

@ -86,10 +86,10 @@
Everytime you edit these keys, you may also consider
to check/edit the key assignment on minimo.js/MenuHandleMenuEscape
-->
<key id="minimo-key" keycode="VK_F23" oncommand="BrowserMenuSpin()"/>
<key id="minimo-key" keycode="VK_F24" oncommand="BrowserMenuSpin()"/>
<key id="minimo-key2" keycode="VK_F11" oncommand="BrowserMenuSpin()"/>
<key id="minimo-key3" keycode="VK_F24" oncommand="DoToggleSoftwareKeyboard()"/>
<!-- <key id="minimo-key3" keycode="VK_F24" oncommand="DoToggleSoftwareKeyboard()"/> -->
<key id="minimo-key4" keycode="VK_F12" oncommand="BrowserNavMenuPopup()"/>
</keyset>