rem: dump("BulletStyleLabel.firstChild: "+BulletStyleLabel.firstChild+"\n"); 
context: function BuildBulletStyleList(){  ClearList(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");    AppendStringToListByID(BulletStyleList,"SolidCircle");    AppendStringToListByID(BulletStyleList,"OpenCircle");    AppendStringToListByID(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");    AppendStringToListByID(BulletStyleList,"Style_1");    AppendStringToListByID(BulletStyleList,"Style_I");    AppendStringToListByID(BulletStyleList,"Style_i");    AppendStringToListByID(BulletStyleList,"Style_A");    AppendStringToListByID(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.value = label;    if (BulletStyleLabel.hasChildNodes())    {      dump("BulletStyleLabel.firstChild: "+BulletStyleLabel.firstChild+"\n");      BulletStyleLabel.removeChild(BulletStyleLabel.firstChild);    }        var textNode = document.createTextNode(label);    BulletStyleLabel.appendChild(textNode);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0a018282336fe18f3ef10c8165b7df3c552145c6/EdListProps.js/buggy/editor/ui/dialogs/content/EdListProps.js