rem: var okButton = document.documentElement.getButton("accept"); if (okButton) { okButton.removeAttribute("default"); okButton.setAttribute("label",GetString("Insert")); okButton.setAttribute("accesskey",GetString("InsertAccessKey")); } 
add: document.documentElement.getButton("accept").removeAttribute("default");  
context: function Startup(){  var editor = GetCurrentEditor();  if (!editor)  {    window.close();    return;  }  var okButton = document.documentElement.getButton("accept");  if (okButton)  {    okButton.removeAttribute("default");    okButton.setAttribute("label",GetString("Insert"));    okButton.setAttribute("accesskey",GetString("InsertAccessKey"));  }  // Create dialog object to store controls for easy access  gDialog.srcInput = document.getElementById("srcInput");  var selection;  try {    selection = editor.outputToString("text/html", 35); // OutputWrap+OutputFormatted+OutputSelectionOnly  } catch (e) {}  if (selection)  {    selection = (selection.replace(/<body[^>]*>/,"")).replace(/<\/body>/,"");    if (selection)      gDialog.srcInput.value = selection;  }  // Set initial focus  gDialog.srcInput.focus();  // Note: We can't set the caret location in a multiline textbox  SetWindowLocation();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/754caa08a3a7ffed627433c95fa355188ee5bc74/EdInsSrc.js/buggy/editor/ui/dialogs/content/EdInsSrc.js