rem: var selIndex = NamedAnchorList.selectedIndex; if (selIndex != HeadingsIndex && selIndex != NamedAnchorsIndex) hrefInput.value = "#" + NamedAnchorList.options[selIndex].value.trimString(); 
add: if (haveNamedAnchors) { hrefInput.value = "#"+NamedAnchorList.options[NamedAnchorList.selectedIndex].value; } 
context: function SelectNamedAnchor(){  var selIndex = NamedAnchorList.selectedIndex;  if (selIndex != HeadingsIndex && selIndex != NamedAnchorsIndex)    hrefInput.value = "#" + NamedAnchorList.options[selIndex].value.trimString();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ec2d4cca1705dd2e02e2804b508e10521106a0df/EdLinkProps.js/clean/editor/ui/dialogs/content/EdLinkProps.js