diff --git a/mailnews/news/content/downloadheaders.js b/mailnews/news/content/downloadheaders.js
index 3fe6eeaba2..80d31935b8 100644
--- a/mailnews/news/content/downloadheaders.js
+++ b/mailnews/news/content/downloadheaders.js
@@ -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();
}
diff --git a/mailnews/news/content/downloadheaders.xhtml b/mailnews/news/content/downloadheaders.xhtml
index f5fe7635e3..b212d5d288 100644
--- a/mailnews/news/content/downloadheaders.xhtml
+++ b/mailnews/news/content/downloadheaders.xhtml
@@ -43,6 +43,7 @@
label="&all.label;"
accesskey="&all.accesskey;"
oncommand="setupDownloadUI(false);"
+ value="all"
/>
@@ -53,6 +54,7 @@
accesskey="&download.accesskey;"
oncommand="setupDownloadUI(true);"
aria-labelledby="some number headers"
+ value="some"
/>