Partial fix for 22558, key bindings for mail window, this included adding Delete and Backspace bindings for the Delete menu item in globalOverlay.xul. Added these bindings to navigator, mail, address book and mail compose. Unable to find Editor's usage of standard Edit menu overlays, so Editor not changed. r=saari. Also a fix for 27000 fixing event handler for address book card dialog. r=saari/hyatt.

This commit is contained in:
hangas%netscape.com 2000-02-11 06:05:04 +00:00
Родитель 86dec4fd62
Коммит 7cd73e4c87
6 изменённых файлов: 12 добавлений и 6 удалений

Просмотреть файл

@ -55,7 +55,7 @@ Rights Reserved.
<html:label for="FirstName" class="CardEdit">&FirstName.label;</html:label>
<box class="CardEditWidth">
<html:input type="text" id="FirstName" class="CardEdit" flex="1"
onkeypress="top.GenerateDisplayName()" />
oninput="top.GenerateDisplayName()" />
</box>
</box>
<box align="horizontal">
@ -63,7 +63,7 @@ Rights Reserved.
<html:label for="LastName" class="CardEdit">&LastName.label;</html:label>
<box class="CardEditWidth">
<html:input id="LastName" type="text" class="CardEdit" flex="1"
onkeypress="top.GenerateDisplayName()"/>
oninput="top.GenerateDisplayName()"/>
</box>
</box>
<box align="horizontal">
@ -71,7 +71,7 @@ Rights Reserved.
<html:label for="DisplayName" class="CardEdit">&DisplayName.label;</html:label>
<box class="CardEditWidth">
<html:input id="DisplayName" type="text" class="CardEdit" flex="1"
onkeypress="top.DisplayNameChanged()"/>
oninput="top.DisplayNameChanged()"/>
</box>
</box>
<box align="horizontal">

Просмотреть файл

@ -92,6 +92,7 @@ Rights Reserved.
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_backspace"/>
<key id="key_selectAll"/>
<key id="key_preferences"/>
</keyset>

Просмотреть файл

@ -93,6 +93,8 @@ Rights Reserved.
<broadcaster id="Messenger:Throbber" busy="false"/>
<broadcaster id="Messenger:Status"/>
<broadcaster id="Messenger:LoadingProgress"/>
<broadcaster id="cmd_nextUnreadMsg" oncommand="MsgNextUnreadMessage();"/>
</broadcasterset>
<keyset id="keyset">
@ -108,11 +110,11 @@ Rights Reserved.
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_backspace"/>
<key id="key_selectAll"/>
<key id="key_preferences"/>
<key id="key_delete" keycode="VK_DELETE" shift="false" control="false"
onkeypress="goDoCommand('button_delete')"/>
<key id="key_nextUnreadMsg" key="&nextUnreadMsgCmd.key;" charcode="&nextUnreadMsgCmd.key;" observes="cmd_NextUnreadMsg"/>
</keyset>
<popupset>
@ -587,7 +589,7 @@ Rights Reserved.
<menu value="&nextMenu.label;">
<menupopup>
<menuitem value="&nextMsgCmd.label;" oncommand="MsgNextMessage();"/>
<menuitem value="&nextUnreadMsgCmd.label;" oncommand="MsgNextUnreadMessage();"/>
<menuitem value="&nextUnreadMsgCmd.label;" key="key_nextUnreadMsg" observes="cmd_nextUnreadMsg"/>
<menuitem value="&nextFlaggedMsgCmd.label;" oncommand="MsgNextFlaggedMessage();"/>
<menuseparator/>
<menuitem value="&nextUnreadThread.label;" oncommand="MsgNextUnreadThread();"/>

Просмотреть файл

@ -208,6 +208,7 @@ Rights Reserved.
<!ENTITY nextMenu.label "Next">
<!ENTITY nextMsgCmd.label "Message">
<!ENTITY nextUnreadMsgCmd.label "Unread Message">
<!ENTITY nextUnreadMsgCmd.key "N">
<!ENTITY nextFlaggedMsgCmd.label "Flagged Message">
<!ENTITY nextUnflaggedMsgCmd.label "Unflagged Message">
<!ENTITY nextUnreadThread.label "Unread Thread">

Просмотреть файл

@ -101,6 +101,7 @@ Rights Reserved.
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_backspace"/>
<key id="key_selectAll"/>
<key id="key_find" xulkey="true" key="&findCmd.key;" disabled="true" observes="cmd_find"/>
<key id="key_findAgain" xulkey="true" key="&findAgainCmd.key;" disabled="true" observes="cmd_findAgain"/>

Просмотреть файл

@ -50,6 +50,7 @@ Contributor(s): ______________________________________. -->
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_backspace"/>
<key id="key_selectAll"/>
<key id="key_preferences"/>