Fix for bug 38319. Check return key only onkeypressed to avoid conflict with Ja input.

This commit is contained in:
ducarroz%netscape.com 2000-05-09 02:13:57 +00:00
Родитель f23dc8f554
Коммит 4c63ce0dc0
1 изменённых файлов: 8 добавлений и 6 удалений

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

@ -199,7 +199,7 @@ ACTUALLY, EVERY TIME YOU TYPE ANY OF THE KEY DEFINED HERE AFTER WITHOUT ANY OF T
<menuitem id="menu_cut"/>
<menuitem id="menu_copy"/>
<menuitem id="menu_paste"/>
<menuitem id="menu_pasteQuote"/>
<menuitem id="menu_pasteQuote"/>
<menuitem id="menu_delete"/>
<menuseparator/>
<menuitem id="menu_selectAll"/>
@ -419,14 +419,16 @@ END of Deprecated -->
<text value="&subject.label;"/>
<spring style="width:0.5em"/>
<textfield id="msgSubject" type="text" flex="100%"
onkeyup="SetComposeWindowTitle(event.which);
if (event.which == 13)
contentWindow.focus();"
onkeypress="if (event.which == 9)
onkeyup="SetComposeWindowTitle(event.which);"
onkeypress="if (event.which == 9) {
if (event.shiftKey == false) {
contentWindow.focus();
event.preventDefault();
}"
}
}
else
if (event.which == 13)
contentWindow.focus();"
onchange="contentChanged=true;"
/>
</box>