rem: ValidateNumber("CellHeightInput", dialog.TableHeightUnits, 
add: ValidateNumber("CellHeightInput", dialog.CellHeightUnits, 
context: function ValidateCellData(){  validatePanel = CellPanel;  if (dialog.CellHeightCheckbox.checked)  {    ValidateNumber("CellHeightInput", dialog.TableHeightUnits,                     1, maxPixels, globalCellElement, "height");    if (error) return false;  }  if (dialog.CellWidthCheckbox.checked)  {    ValidateNumber("CellWidthInput", dialog.TableWidthUnits,                    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)  {    // Vertical alignment is complicated by "char" type    var hAlign = dialog.CellHAlignList.selectedItem.data;dump("Cell hAlign = "+hAlign+"\n");    if (hAlign != charStr)      globalCellElement.removeAttribute(charStr);        if (hAlign == "left")    {      globalCellElement.removeAttribute("align");    }    else    {      if (hAlign == charStr)      {        var alignChar = dialog.CellAlignCharInput.value.trimString().charAt(0);        globalCellElement.setAttribute(charStr, alignChar);dump("Alignment char="+alignChar+"\n");      }      globalCellElement.setAttribute("align", hAlign);    }  }  if (dialog.CellVAlignCheckbox.checked)    SetAlign("CellVAlignList", defVAlign, 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/dc98082767a6914e7e0041ac43d242ac8e128990/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js