rem: gDialog.AddCSSAttributeNameInput.value = GetTreeItemAttributeStr(tree.selectedItems[0]); gDialog.AddCSSAttributeValueInput.value = GetTreeItemValueStr(tree.selectedItems[0]); 
add: gDialog.AddCSSAttributeNameInput.value = GetTreeItemAttributeStr(getSelectedItem(tree)); gDialog.AddCSSAttributeValueInput.value = GetTreeItemValueStr(getSelectedItem(tree)); 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/EdAECSSAttributes.js/clean/editor/ui/dialogs/content/EdAECSSAttributes.js