Fixed list number style bug 131791, r=brade, sr=hewitt

This commit is contained in:
cmanske%netscape.com 2002-05-17 04:46:06 +00:00
parent f8b4da3f44
commit 1c61ce3c1b

View File

@ -60,16 +60,14 @@ function Startup()
if (ListElement)
globalElement = ListElement.cloneNode(false);
// Show extra options for changing entire list if we have one already.
// Radio button index is persistent
if (ListElement && gDialog.RadioGroup.getAttribute("index") == "1")
gDialog.RadioGroup.selectedItem = gDialog.ChangeSelectedRadio;
else
gDialog.RadioGroup.selectedItem = gDialog.ChangeAllRadio;
// Show extra options for changing entire list only if we already have a list
gDialog.RadioGroup.setAttribute("collapsed", ListElement ? "false" : "true");
if (ListElement)
{
// Radio button index is persistant
if (gDialog.RadioGroup.getAttribute("index") == "1")
gDialog.RadioGroup.selectedItem = gDialog.ChangeSelectedRadio;
else
gDialog.RadioGroup.selectedItem = gDialog.ChangeAllRadio;
}
InitDialog();