rem: dump("New row "+i+": "+newRow+"\n"); 
context: function onOK(){  rows = ValidateNumberString(dialog.rowsInput.value, 1, maxRows);  if (rows == "") {    // Set focus to the offending control    dialog.rowsInput.focus();    return;  }  columns = ValidateNumberString(dialog.columnsInput.value, 1, maxColumns);  if (columns == "") {    // Set focus to the offending control    dialog.columnsInput.focus();    return;  }  dump("Rows = "+rows+"  Columns = "+columns+"\n");  for (i = 0; i < rows; i++)  {    newRow = editorShell.CreateElementWithDefaults("tr");    dump("New row "+i+": "+newRow+"\n");    if (newRow)    {      tableElement.appendChild(newRow);      for (j = 0; j < columns; j++)      {        newCell = editorShell.CreateElementWithDefaults("td");        dump("New cell "+j+": "+newCell+"\n");        if (newCell)        {          newRow.appendChild(newCell);        }      }    }  }  // TODO: VALIDATE ROWS, COLS and BUILD TABLE  // Don't delete selected text when inserting  editorShell.InsertElement(tableElement, false);  window.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/883427f4192f728672371f55dda2c6fcffcae2dc/EdInsertTable.js/buggy/editor/ui/dialogs/content/EdInsertTable.js