rem: if (tree && tree.selectedItems && tree.selectedItems.length) 
add: if (tree && tree.treeBoxObject.selection.count) 
context: function onSelectCSSTreeItem(){  if (!gDoOnSelectTree)    return;  var tree = gDialog.AddCSSAttributeTree;  if (tree && tree.selectedItems && tree.selectedItems.length)  {    gDialog.AddCSSAttributeNameInput.value = GetTreeItemAttributeStr(tree.selectedItems[0]);    gDialog.AddCSSAttributeValueInput.value = GetTreeItemValueStr(tree.selectedItems[0]);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdAECSSAttributes.js/buggy/editor/ui/dialogs/content/EdAECSSAttributes.js