rem: AdvancedEditButton.removeAttribute("disabled"); 
add: dialog.AdvancedEditButton.setAttribute("disabled","true"); 
context: function BuildBulletStyleList(){  ClearMenulist(BulletStyleList);  var label = "";  var selectedIndex = -1;dump("List Type: "+ListType+" globalElement: "+globalElement+"\n");  if (ListType == "ul")  {    BulletStyleList.removeAttribute("disabled");    BulletStyleLabel.removeAttribute("disabled");    StartingNumberInput.setAttribute("disabled", "true");    StartingNumberLabel.setAttribute("disabled", "true");    label = GetString("BulletStyle");    AppendStringToMenulistById(BulletStyleList,"SolidCircle");    AppendStringToMenulistById(BulletStyleList,"OpenCircle");    AppendStringToMenulistById(BulletStyleList,"SolidSquare");    BulletStyleList.selectedIndex = BulletStyleIndex;    ListTypeList.selectedIndex = 1;  }  else if (ListType == "ol")  {    BulletStyleList.removeAttribute("disabled");    BulletStyleLabel.removeAttribute("disabled");    StartingNumberInput.removeAttribute("disabled");    StartingNumberLabel.removeAttribute("disabled");    label = GetString("NumberStyle");    AppendStringToMenulistById(BulletStyleList,"Style_1");    AppendStringToMenulistById(BulletStyleList,"Style_I");    AppendStringToMenulistById(BulletStyleList,"Style_i");    AppendStringToMenulistById(BulletStyleList,"Style_A");    AppendStringToMenulistById(BulletStyleList,"Style_a");    BulletStyleList.selectedIndex = NumberStyleIndex;    ListTypeList.selectedIndex = 2;  }   else   {    BulletStyleList.setAttribute("disabled", "true");    BulletStyleLabel.setAttribute("disabled", "true");    StartingNumberInput.setAttribute("disabled", "true");    StartingNumberLabel.setAttribute("disabled", "true");    if (ListType == "dl")      ListTypeList.selectedIndex = 3;    else      ListTypeList.selectedIndex = 0;  }    // Disable advanced edit button if changing to "normal"  if (ListType == "")    AdvancedEditButton.setAttribute("disabled","true");  else    AdvancedEditButton.removeAttribute("disabled");  if (label)    BulletStyleLabel.setAttribute("value",label);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/145e0993e94be58c9a9a2168ca6b8cc2de5d31a3/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js