зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
70955cde50
Коммит
de712f94da
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
<box autostretch="never" style="margin-top: 5px">
|
<box autostretch="never" style="margin-top: 5px">
|
||||||
<text value="File name:"/>
|
<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>
|
||||||
|
|
||||||
<box autostretch="never">
|
<box autostretch="never">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче