rem: if (ListElement) editorShell.CloneAttributes(ListElement, globalElement); 
add: if (gListElement) editorShell.CloneAttributes(gListElement, globalElement); 
context: function onAccept(){  if (ValidateData())  {    // Coalesce into one undo transaction    editorShell.BeginBatchChanges();    // Remember which radio button was selected    if (ListElement)      gDialog.RadioGroup.setAttribute("index", gDialog.ChangeAllRadio.selected ? "0" : "1");    var changeList;    if (ListElement && gDialog.ChangeAllRadio.selected)    {      changeList = true;    }    else      changeList = MixedListSelection || ListType != originalListType || BulletStyleType != originalBulletStyleType;    if (changeList)    {      if (ListElement && gDialog.ChangeAllRadio.selected && BulletStyleType != originalBulletStyleType) {        var child = ListElement.firstChild;        while (child) {          if (child.nodeType == Node.ELEMENT_NODE &&              child.nodeName.toLowerCase() == "li") {            editorShell.editor.removeAttributeOrEquivalent(child, "type");          }          child = child.nextSibling;        }      }      editorShell.MakeOrChangeList(ListType, gDialog.ChangeAllRadio.selected,                                   (BulletStyleType != originalBulletStyleType) ? BulletStyleType : null);      if (ListType)      {        // Get the new list created:        ListElement = editorShell.GetElementOrParentByTagName(ListType, null);      }      else      {        // We removed an existing list        ListElement = null;      }    }    // Set the new list attributes    if (ListElement)      editorShell.CloneAttributes(ListElement, globalElement);    editorShell.EndBatchChanges();        SaveWindowLocation();    return true;  }  return false;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js