зеркало из https://github.com/mozilla/pjs.git
Fixed list number style bug 131791, r=brade, sr=hewitt
This commit is contained in:
Родитель
c66b1457cf
Коммит
cd1daa76dc
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче