rem: } else if (insertNew) { 
add: } else if (insertNew) { 
context: function ValidateData(){  href = dialog.hrefInput.value.trimString();  if (href.length > 0) {    // Set the HREF directly on the editor document's anchor node    //  or on the newly-created node if insertNew is true    globalElement.setAttribute("href",href);  } else if (insertNew) {    // We must have a URL to insert a new link    //NOTE: We accept an empty HREF on existing link to indicate removing the link    ShowInputErrorMessage(GetString("EmptyHREFError"));    return false;  }  if (dialog.linkTextInput) {    // The text we will insert isn't really an attribute,    //  but it makes sense to validate it    newLinkText = TrimString(dialog.linkTextInput.value);    if (newLinkText.length == 0) {      ShowInputErrorMessage(GetString("GetInputError"));      dialog.linkTextInput.focus();      return false;    }  }  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/371c750504c530471dd186b90dde9da478c22440/EdLinkProps.js/buggy/editor/ui/dialogs/content/EdLinkProps.js