rem:  dump("Rows = "+rows+"  Columns = "+columns+"\n"); for (i = 0; i < rows; i++) 
add: var tableBody = editorShell.CreateElementWithDefaults("tbody"); if (tableBody) 
context: function onOK(){  if (ValidateData())  {    editorShell.CloneAttributes(tableElement, globalElement);    // Create necessary rows and cells for the table    dump("Rows = "+rows+"  Columns = "+columns+"\n");    for (i = 0; i < rows; i++)    {      newRow = editorShell.CreateElementWithDefaults("tr");      if (newRow)      {        tableElement.appendChild(newRow);        for (j = 0; j < columns; j++)        {          newCell = editorShell.CreateElementWithDefaults("td");          if (newCell)          {            newRow.appendChild(newCell);          }        }      }    }    // Don't delete selected text when inserting    editorShell.InsertElement(tableElement, false);    return true;  }  return false;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6df53d78e87da76212f26738e05ec918d9d1125c/EdInsertTable.js/buggy/editor/ui/dialogs/content/EdInsertTable.js