rem: gDialog.ListTypeList.selectedIndex = 2; 
add: gDialog.ListTypeList.selectedIndex = OL_LIST; 
context: function BuildBulletStyleList(){  ClearMenulist(gDialog.BulletStyleList);  var label;  if (gListType == "ul")  {    gDialog.BulletStyleList.removeAttribute("disabled");    gDialog.BulletStyleLabel.removeAttribute("disabled");    gDialog.StartingNumberInput.setAttribute("disabled", "true");    gDialog.StartingNumberLabel.setAttribute("disabled", "true");    label = GetString("BulletStyle");    AppendStringToMenulistById(gDialog.BulletStyleList,"Automatic");    AppendStringToMenulistById(gDialog.BulletStyleList,"SolidCircle");    AppendStringToMenulistById(gDialog.BulletStyleList,"OpenCircle");    AppendStringToMenulistById(gDialog.BulletStyleList,"SolidSquare");    gDialog.BulletStyleList.selectedIndex = gBulletStyleIndex;    gDialog.ListTypeList.selectedIndex = 1;  }  else if (gListType == "ol")  {    gDialog.BulletStyleList.removeAttribute("disabled");    gDialog.BulletStyleLabel.removeAttribute("disabled");    gDialog.StartingNumberInput.removeAttribute("disabled");    gDialog.StartingNumberLabel.removeAttribute("disabled");    label = GetString("NumberStyle");    AppendStringToMenulistById(gDialog.BulletStyleList,"Automatic");    AppendStringToMenulistById(gDialog.BulletStyleList,"Style_1");    AppendStringToMenulistById(gDialog.BulletStyleList,"Style_I");    AppendStringToMenulistById(gDialog.BulletStyleList,"Style_i");    AppendStringToMenulistById(gDialog.BulletStyleList,"Style_A");    AppendStringToMenulistById(gDialog.BulletStyleList,"Style_a");    gDialog.BulletStyleList.selectedIndex = gNumberStyleIndex;    gDialog.ListTypeList.selectedIndex = 2;  }   else   {    gDialog.BulletStyleList.setAttribute("disabled", "true");    gDialog.BulletStyleLabel.setAttribute("disabled", "true");    gDialog.StartingNumberInput.setAttribute("disabled", "true");    gDialog.StartingNumberLabel.setAttribute("disabled", "true");    if (gListType == "dl")      gDialog.ListTypeList.selectedIndex = 3;    else    {      // No list or mixed selection that starts outside a list      // ??? Setting index to 0 fails to draw menulist correctly!      gDialog.ListTypeList.selectedIndex = 1;      gDialog.ListTypeList.selectedIndex = 0;    }  }    // Disable advanced edit button if changing to "normal"  if (gListType)    gDialog.AdvancedEditButton.removeAttribute("disabled");  else    gDialog.AdvancedEditButton.setAttribute("disabled","true");  if (label)    gDialog.BulletStyleLabel.setAttribute("label",label);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fab3c6e4b2166c00932ec61a66397636441d2c5a/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js