rem: if (gDialog.AddCSSAttributeTree.selectedItems.length) 
add: if (gDialog.AddCSSAttributeTree.treeBoxObject.selection.count) 
context: function RemoveCSSAttribute(){  var treechildren = gDialog.AddCSSAttributeTree.lastChild;  // We only allow 1 selected item  if (gDialog.AddCSSAttributeTree.selectedItems.length)  {    var item = gDialog.AddCSSAttributeTree.selectedItems[0];    // Remove the item from the tree    // We always rebuild complete "style" string,    //  so no list of "removed" items     treechildren.removeChild (item);    ClearCSSInputWidgets();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/EdAECSSAttributes.js/clean/editor/ui/dialogs/content/EdAECSSAttributes.js