rem: if (gDialog.AddHTMLAttributeTree.selectedItems.length) 
add: if (gDialog.AddHTMLAttributeTree.treeBoxObject.selection.count) 
context: function RemoveHTMLAttribute(){  var treechildren = gDialog.AddHTMLAttributeTree.lastChild;  // We only allow 1 selected item  if (gDialog.AddHTMLAttributeTree.selectedItems.length)  {    var item = gDialog.AddHTMLAttributeTree.selectedItems[0];    var attr = GetTreeItemAttributeStr(item);    // remove the item from the attribute array    HTMLRAttrs[HTMLRAttrs.length] = attr;    RemoveNameFromAttArray(attr, HTMLAttrs);    // Remove the item from the tree    treechildren.removeChild(item);    // Clear inputs and selected item in tree    ClearHTMLInputWidgets();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/EdAEHTMLAttributes.js/buggy/editor/ui/dialogs/content/EdAEHTMLAttributes.js