зеркало из https://github.com/mozilla/gecko-dev.git
Fix the Open button in the dialog to be enabled after a Choose file, and on paste. r=ben
This commit is contained in:
Родитель
3f404cb31f
Коммит
56c0d40a7a
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче