rem: ValidateNumber("CellWidthInput", dialog.CellWidthUnits, 
add: ValidateNumber("CellWidthInput", dialog.CellWidthUnits, 
context: function ValidateCellData(){  validatePanel = CellPanel;  if (dialog.CellHeightCheckbox.checked)  {    ValidateNumber("CellHeightInput", dialog.CellHeightUnits,                     1, maxPixels, globalCellElement, "height");    if (error) return false;  }  if (dialog.CellWidthCheckbox.checked)  {    ValidateNumber("CellWidthInput", dialog.CellWidthUnits,                    1, maxPixels, globalCellElement, "width");    if (error) return false;  }    if (dialog.RowSpanCheckbox.checked && dialog.RowSpanCheckbox.disabled != "true")  {    // Note that span = 0 is allowed and means "span entire row/col"    ValidateNumber("RowSpanInput", null,                   0, rowCount, globalCellElement, "rowspan");    if (error) return false;  }  if (dialog.ColSpanCheckbox.checked && dialog.ColSpanCheckbox.getAttribute("disabled") != "true")  {    ValidateNumber("ColSpanInput", null,                   0, colCount, globalCellElement, "colspan");    if (error) return false;  }  if (dialog.CellHAlignCheckbox.checked)  {    var hAlign = dialog.CellHAlignList.selectedItem.data;    // Horizontal alignment is complicated by "char" type    // We don't change current values if user didn't edit alignment    if (!alignWasChar)    {      globalCellElement.removeAttribute(charStr);      // Always set "align" attribute,      //  so the default "left" is effective in a cell       //  when parent row has align set.      globalCellElement.setAttribute("align", hAlign);    }  }  if (dialog.CellVAlignCheckbox.checked)  {    // Always set valign (no default in 2nd param) so     //  the default "middle" is effective in a cell     //  when parent row has valign set.    SetAlign("CellVAlignList", "", globalCellElement, "valign");  }  if (dialog.TextWrapCheckbox.checked)  {    if (dialog.TextWrapList.selectedIndex == 1)      globalCellElement.setAttribute("nowrap","true");    else      globalCellElement.removeAttribute("nowrap");  }  return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js