rem:   var insertButton = document.documentElement.getButton("accept"); if (insertButton) { insertButton.setAttribute("label", GetString("Insert")); insertButton.setAttribute("accesskey", GetString("InsertAccessKey")); }  var cancelButton = document.getElementById("insertCharsDlg").getButton("cancel"); if (cancelButton) cancelButton.setAttribute("label", GetString("Close"));  
context: function Startup(){  if (!GetCurrentEditor())  {    window.close();    return;  }  StartupLatin();  // Dialog is non-modal:  // Change button text: "Ok" to "Insert"; "Cancel" to "Close"  var insertButton = document.documentElement.getButton("accept");  if (insertButton)  {    insertButton.setAttribute("label", GetString("Insert"));    insertButton.setAttribute("accesskey", GetString("InsertAccessKey"));  }  var cancelButton = document.getElementById("insertCharsDlg").getButton("cancel");  if (cancelButton)    cancelButton.setAttribute("label", GetString("Close"));  // Set a variable on the opener window so we  //  can track ownership of close this window with it  window.opener.InsertCharWindow = window;  window.sizeToContent();  SetWindowLocation();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/754caa08a3a7ffed627433c95fa355188ee5bc74/EdInsertChars.js/buggy/editor/ui/dialogs/content/EdInsertChars.js