add:  if (ListElement && gDialog.RadioGroup.getAttribute("index") == "1") gDialog.RadioGroup.selectedItem = gDialog.ChangeSelectedRadio; else gDialog.RadioGroup.selectedItem = gDialog.ChangeAllRadio;   
context: function Startup(){  if (!InitEditorShell())    return;  gDialog.ListTypeList = document.getElementById("ListType");  gDialog.BulletStyleList = document.getElementById("BulletStyle");  gDialog.BulletStyleLabel = document.getElementById("BulletStyleLabel");  gDialog.StartingNumberInput = document.getElementById("StartingNumber");  gDialog.StartingNumberLabel = document.getElementById("StartingNumberLabel");  gDialog.AdvancedEditButton = document.getElementById("AdvancedEditButton1");  gDialog.RadioGroup = document.getElementById("RadioGroup");  gDialog.ChangeAllRadio = document.getElementById("ChangeAll");  gDialog.ChangeSelectedRadio = document.getElementById("ChangeSelected");    // Try to get an existing list(s)  var mixedObj = new Object;  ListType = editorShell.GetListState(mixedObj);  // We may have mixed list and non-list, or > 1 list type in selection  MixedListSelection = mixedObj.value;  // Get the list element at the anchor node  ListElement = editorShell.GetElementOrParentByTagName("list", null);  // The copy to use in AdvancedEdit  if (ListElement)    globalElement = ListElement.cloneNode(false);  // Show extra options for changing entire list if we have one already.  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();  originalListType = ListType;  gDialog.ListTypeList.focus();  SetWindowLocation();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1c61ce3c1bbf8bb8dfed7e2bc6538c7e18c99681/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js