Bug 1845457 - Preselect number of headers to download. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D184559 --HG-- extra : amend_source : 74ce256f73cc44ab51ac2138372ffb7456dd274f
This commit is contained in:
Родитель
12f2d5758d
Коммит
6050c34880
|
@ -48,6 +48,8 @@ function OnLoad() {
|
|||
markreadElement = document.getElementById("markread");
|
||||
markreadElement.checked = nntpServer.markOldRead;
|
||||
|
||||
setupDownloadUI(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -86,4 +88,5 @@ function setupDownloadUI(enable) {
|
|||
|
||||
checkbox.disabled = !enable;
|
||||
numberFld.disabled = !enable;
|
||||
numberFld.select();
|
||||
}
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
label="&all.label;"
|
||||
accesskey="&all.accesskey;"
|
||||
oncommand="setupDownloadUI(false);"
|
||||
value="all"
|
||||
/>
|
||||
<separator class="thin" />
|
||||
<hbox align="center">
|
||||
|
@ -53,6 +54,7 @@
|
|||
accesskey="&download.accesskey;"
|
||||
oncommand="setupDownloadUI(true);"
|
||||
aria-labelledby="some number headers"
|
||||
value="some"
|
||||
/>
|
||||
<html:input
|
||||
id="number"
|
||||
|
|
Загрузка…
Ссылка в новой задаче