Fix the Open button in the dialog to be enabled after a Choose file, and on paste. r=ben

This commit is contained in:
sfraser%netscape.com 2000-04-05 02:31:19 +00:00
Родитель 3f404cb31f
Коммит 56c0d40a7a
2 изменённых файлов: 5 добавлений и 4 удалений

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

@ -131,4 +131,6 @@ function onChooseFile()
}
} catch(ex) { }
doEnabling();
}

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

@ -51,7 +51,6 @@
<keyset id="keyset"/>
<!-- spank me -->
<box>
<box orient="vertical">
<image class="question-icon"/>
@ -63,7 +62,7 @@
<box autostretch="never">
<!-- spank me -->
<textfield id="dialog.input" flex="1" onkeyup="doEnabling();"/>
<textfield id="dialog.input" flex="1" oninput="doEnabling();"/>
<button value="&chooseFile.label;" onclick="onChooseFile();"/>
</box>
<box autostretch="never" valign="center">