rem: dump("HTMLRAttrs[" + (HTMLRAttrs.length - 1) + "]: " + HTMLRAttrs[HTMLRAttrs.length-1] + "\n"); 
context: function doRemoveAttribute( which ){  if(which.nodeName != "tree") {    var tree = which.parentNode;    while ( tree.nodeName != "tree" )    {      tree = tree.parentNode; // climb up the tree one notch    } // now we are pointing at the tree element  } else    tree = which;    var kids = tree.lastChild;  // treechildren element of tree  var selArray = [];  for ( var i = 0; i < tree.selectedItems.length; i++ )  {    var item = tree.selectedItems[i];    // add to array of removed items for the particular panel that is displayed    var name = item.firstChild.firstChild;    switch ( tree.id ) {      case "HTMLATree":        HTMLRAttrs[HTMLRAttrs.length] = TrimString(name.getAttribute("value"));        dump("HTMLRAttrs[" + (HTMLRAttrs.length - 1) + "]: " + HTMLRAttrs[HTMLRAttrs.length-1] + "\n");        break;      case "CSSATree":           CSSRAttrs[CSSRAttrs.length] = TrimString(name.getAttribute("value"));        break;      case "JSEATree":        JSERAttrs[JSERAttrs.length] = TrimString(name.getAttribute("value"));        break;            default: break;    }    selArray[i] = item;  }  // need to do this in a separate loop because selectedItems is NOT STATIC and   // this causes problems.  for ( var i = 0; i < selArray.length; i++ )  {    // remove the item    kids.removeChild ( selArray[i] );  } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/EdAdvancedEdit.js/clean/editor/ui/dialogs/content/EdAdvancedEdit.js