rem: else if (ListType == "ol") 
add: else if (gListType == "ol") 
context: function BuildBulletStyleList(){  ClearMenulist(gDialog.BulletStyleList);  var label;  if (ListType == "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 = BulletStyleIndex;    gDialog.ListTypeList.selectedIndex = 1;  }  else if (ListType == "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 = NumberStyleIndex;    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 (ListType == "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 (ListType)    gDialog.AdvancedEditButton.removeAttribute("disabled");  else    gDialog.AdvancedEditButton.setAttribute("disabled","true");  if (label)    gDialog.BulletStyleLabel.setAttribute("label",label);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js