add: gDialog.OkButton = document.documentElement.getButton("accept"); 
context: function Startup(){  if (!InitEditorShell())    return;  tableElement = editorShell.CreateElementWithDefaults(tagName);  if(!tableElement)  {    dump("Failed to create a new table!\n");    window.close();    return;  }  gDialog.rowsInput    = document.getElementById("rowsInput");  gDialog.columnsInput = document.getElementById("columnsInput");  gDialog.widthInput = document.getElementById("widthInput");  gDialog.borderInput = document.getElementById("borderInput");  gDialog.widthPixelOrPercentMenulist = document.getElementById("widthPixelOrPercentMenulist");  // Make a copy to use for AdvancedEdit  globalElement = tableElement.cloneNode(false);    // Initialize all widgets with image attributes  InitDialog();  // Set initial number to 2 rows, 2 columns:  // Note, these are not attributes on the table,  //  so don't put them in InitDialog(),  //  else the user's values will be trashed when they use   //  the Advanced Edit dialog  gDialog.rowsInput.value = 2;  gDialog.columnsInput.value = 2;  // If no default value on the width, set to 100%  if (gDialog.widthInput.value.length == 0)  {    gDialog.widthInput.value = "100";    gDialog.widthPixelOrPercentMenulist.selectedIndex = 1;  }  SetTextboxFocusById("rowsInput");  SetWindowLocation();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/53f30e869bd5bfd611ffd96b41a216effd4ea288/EdInsertTable.js/clean/editor/ui/dialogs/content/EdInsertTable.js