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
Родитель c66b1457cf
Коммит cd1daa76dc
1 изменённых файлов: 7 добавлений и 9 удалений

Просмотреть файл

@ -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();