Patch from disttsc@bart.nl for bug 49089 -- using Enter in filepicker was

broken because we needed to change event.which to event.keyCode.  r=me.
This commit is contained in:
bryner%uiuc.edu 2000-08-16 04:23:58 +00:00
Родитель fc188e8681
Коммит 4a2b65e9d0
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -71,7 +71,7 @@
<box autostretch="never" style="margin-top: 5px">
<text value="File name:"/>
<textfield id="textInput" onkeypress="if (event.which == 13) { onOK(); }" flex="1"/>
<textfield id="textInput" onkeypress="if (event.keyCode == 13) { onOK(); }" flex="1"/>
</box>
<box autostretch="never">