rem: function onOK() { if (applyChanges()) { window.close(); 
add: function onOK() {    appCore.beginBatchChanges();    anchorElement.setAttribute("href",dialog.hrefInput.value);   if (insertNew) {   textNode = appCore.editorDocument.createTextNode(dialog.linkTextInput.value); if (textNode) { anchorElement.appendChild(textNode); } newElement = appCore.insertElement(anchorElement, true); if (newElement != anchorElement) { dump("Returned element from insertElement is different from orginal element.\n"); } } else if (insertLinkAroundSelection) { dump("Setting link around selected text\n"); appCore.insertLinkAroundSelection(anchorElement); 
context: function onOK() {  if (applyChanges()) {    window.close();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/351d18f8fab2b14cc9f3fa977da6c5abf1878cb9/EdLinkProps.js/buggy/editor/ui/dialogs/content/EdLinkProps.js