Problems with download header dialog. Also revert line that joe shouldn't have changed. r=hewitt sr=hyatt

This commit is contained in:
blakeross%telocity.com 2001-11-05 00:29:39 +00:00
parent 8d3c3ea8b9
commit 9515786c8d
2 changed files with 4 additions and 5 deletions

View File

@ -75,7 +75,7 @@ function OnLoad()
// this is not i18n friendly, fix this
var infotext = downloadHeadersInfoText1 + " " + args.articleCount + " " + downloadHeadersInfoText2;
setText('info',infotext);
var okbutton = document.documentElement.getButton("accept");
var okbutton = document.getElementById("ok");
okbutton.setAttribute("label", okButtonText);
setText("newsgroupLabel", args.groupName);
}
@ -103,9 +103,8 @@ function OkButtonCallback() {
nntpServer.markOldRead = markreadElement.checked;
var radio = document.getElementById("all");
if (radio) {
args.downloadAll = radio.checked;
}
if (radio)
args.downloadAll = radio.selected;
args.hitOK = true;
return true;

View File

@ -46,7 +46,7 @@ Contributor(s):
<radio id="all" label="&all.label;" oncommand="setupDownloadUI(false);"/>
<separator class="thin"/>
<hbox align="center" valign="middle">
<radio id="some" checked="true" label="&download.label;" oncommand="setupDownloadUI(true);"/>
<radio id="some" selected="true" label="&download.label;" oncommand="setupDownloadUI(true);"/>
<textbox id="number" size="7"/>
<description value="&headers.label;" />
</hbox>