rem: dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits", gPercent); 
add: dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits", gPixel); 
context: function InitCellPanel(){  // Get cell attributes  if (globalCellElement)  {    // This assumes order of items is Cell, Row, Column    dialog.SelectionList.selectedIndex = SelectedCellsType-1;    var previousValue = dialog.CellHeightInput.value;    dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits", gPercent);    dialog.CellHeightCheckbox.checked = AdvancedEditUsed && previousValue != dialog.CellHeightInput.value;    previousValue= dialog.CellWidthInput.value;    dialog.CellWidthInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "width", "CellWidthUnits", gPixel);    dialog.CellWidthCheckbox.checked = AdvancedEditUsed && previousValue != dialog.CellWidthInput.value;    previousValue = dialog.RowSpanInput.value;    dialog.RowSpanInput.value = globalCellElement.getAttribute("rowspan");    dialog.RowSpanCheckbox.checked = AdvancedEditUsed && previousValue != dialog.RowSpanInput.value;    previousValue = dialog.ColSpanInput.value;    dialog.ColSpanInput.value = globalCellElement.getAttribute("colspan");    dialog.ColSpanCheckbox.checked = AdvancedEditUsed && previousValue != dialog.ColSpanInput.value;        var previousIndex = dialog.CellVAlignList.selectedIndex;    var valign = globalCellElement.vAlign.toLowerCase();    if (valign == topStr)      dialog.CellVAlignList.selectedIndex = 0;    else if (valign == bottomStr)      dialog.CellVAlignList.selectedIndex = 2;    else // Default = middle      dialog.CellVAlignList.selectedIndex = 1;    dialog.CellVAlignCheckbox.checked = AdvancedEditUsed && previousValue != dialog.CellVAlignList.selectedIndex;        previousIndex = dialog.CellHAlignList.selectedIndex;    previousValue = dialog.CellAlignCharInput.value;    // Clear in case alignment type isn't "char"    dialog.CellAlignCharInput.value = "";    var halign = globalCellElement.align.toLowerCase();    switch (halign)    {      case centerStr:        dialog.CellHAlignList.selectedIndex = 1;        break;      case rightStr:        dialog.CellHAlignList.selectedIndex = 2;        break;      case justifyStr:        dialog.CellHAlignList.selectedIndex = 3;        break;      case charStr:        dialog.CellHAlignList.selectedIndex = 4;        dialog.CellAlignCharInput.value = alignChar;        break;      default:          // Default depends on cell type (TH is "center", TD is "left")        dialog.CellHAlignList.selectedIndex =           (globalCellElement.nodeName.toLowerCase() == "th") ? 1 : 0;        break;    }    dialog.CellHAlignCheckbox.checked = AdvancedEditUsed &&       previousIndex != dialog.CellHAlignList.selectedIndex ||      previousValue != dialog.CellAlignCharInput.value;    previousIndex = dialog.CellStyleList.selectedIndex;    dialog.CellStyleList.selectedIndex = (globalCellElement.nodeName.toLowerCase() == "th") ? 1 : 0;    dialog.CellStyleCheckbox.checked = AdvancedEditUsed && previousIndex != dialog.CellStyleList.selectedIndex;    previousIndex = dialog.TextWrapList.selectedIndex;    dialog.TextWrapList.selectedIndex = globalCellElement.noWrap ? 1 : 0;    dialog.TextWrapCheckbox.checked = AdvancedEditUsed && previousIndex != dialog.TextWrapList.selectedIndex;    previousValue = CellColor;    SetColor("cellBackgroundCW", globalCellElement.bgColor);     dialog.CellColorCheckbox.checked = AdvancedEditUsed && CellColor != globalCellElement.bgColor;    CellColor = globalCellElement.bgColor;        // We want to set this true in case changes came     //   from Advanced Edit dialog session (must assume something changed)    CellDataChanged = true;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/4b89987d972a64bd2166e7a9c22017c5da381643/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js