rem: dump(" ** Calling onSelectHTMLTreeItem gDoOnSelectTree="+gDoOnSelectTree+"\n"); 
context: function onSelectHTMLTreeItem(){dump(" ** Calling onSelectHTMLTreeItem gDoOnSelectTree="+gDoOnSelectTree+"\n");  if (!gDoOnSelectTree)    return;  var tree = dialog.AddHTMLAttributeTree;  if (tree && tree.selectedItems && tree.selectedItems.length)  {    var inputName = TrimString(dialog.AddHTMLAttributeNameInput.value).toLowerCase();    var selectedName = tree.selectedItems[0].firstChild.firstChild.getAttribute("label");    if (inputName == selectedName)    {      // Already editing selected name - just update the value input      dialog.AddHTMLAttributeValueInput.value =  GetTreeItemValueStr(tree.selectedItems[0]);    }    else    {      dialog.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/a760ed9ca93d3f4404e9a0cd859bfaa758785014/EdAEHTMLAttributes.js/buggy/editor/ui/dialogs/content/EdAEHTMLAttributes.js