mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
Fixed list number style bug 131791, r=brade, sr=hewitt
This commit is contained in:
parent
f8b4da3f44
commit
1c61ce3c1b
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user