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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/41bbf0920cbd123d0fd106aa82a9c8295004f55d/EdAEHTMLAttributes.js/clean/editor/ui/dialogs/content/EdAEHTMLAttributes.js