rem: gDialog.AddHTMLAttributeValueInput.value = GetTreeItemValueStr(tree.selectedItems[0]); 
add: gDialog.AddHTMLAttributeValueInput.value = GetTreeItemValueStr(selectedItem); 
context: function onSelectHTMLTreeItem(){  if (!gDoOnSelectTree)    return;  var tree = gDialog.AddHTMLAttributeTree;  if (tree && tree.selectedItems && tree.selectedItems.length)  {    var inputName = TrimString(gDialog.AddHTMLAttributeNameInput.value).toLowerCase();    var selectedName = tree.selectedItems[0].firstChild.firstChild.getAttribute("label");    if (inputName == selectedName)    {      // Already editing selected name - just update the value input      gDialog.AddHTMLAttributeValueInput.value = GetTreeItemValueStr(tree.selectedItems[0]);    }    else    {      gDialog.AddHTMLAttributeNameInput.value = selectedName;      // Change value input based on new selected name      onInputHTMLAttributeName();    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdAEHTMLAttributes.js/clean/editor/ui/dialogs/content/EdAEHTMLAttributes.js