rem: dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits"); dialog.CellWidthInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "width", "CellWidthUnits"); 
add: dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits", gPercent); dialog.CellWidthInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "width", "CellWidthUnits", gPixel); 
context: function InitCellPanel(){  // Get cell attributes  if (globalCellElement)  {    // This assumes order of items is Cell, Row, Column    dialog.SelectionList.selectedIndex = SelectedCellsType-1;    dialog.CellHeightInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "height", "CellHeightUnits");    dialog.CellWidthInput.value = InitPixelOrPercentMenulist(globalCellElement, CellElement, "width", "CellWidthUnits");    dialog.RowSpanInput.value = globalCellElement.getAttribute("rowspan");    dialog.ColSpanInput.value = globalCellElement.getAttribute("colspan");        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;        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:        var alignChar = globalCellElement.getAttribute(charStr);        if (alignChar && alignChar.length == 1)        {          dialog.CellAlignCharInput.value = alignChar;          dialog.CellHAlignList.selectedIndex = 4;          dialog.CellAlignCharInput.removeAttribute("collapsed");        } else {          // "char" align set but no alignment char value          dialog.CellHAlignList.selectedIndex = 0;        }        break;      default:  // left        dialog.CellHAlignList.selectedIndex = 0;        break;    }    // Hide align char input if not that align type    dialog.CellHAlignList.selectedIndex != 4      dialog.CellAlignCharInput.setAttribute("collapsed","true");    dialog.CellStyleList.selectedIndex = (globalCellElement.nodeName == "TH") ? 1 : 0;    dialog.TextWrapList.selectedIndex = globalCellElement.noWrap ? 1 : 0;        SetColor("cellBackgroundCW", globalCellElement.bgColor);         if (globalCellElement.background)      dialog.CellImageInput.value = globalCellElement.background;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c0a534c8efb9e6703626cacd6d61cb6ad8eb6680/EdTableProps.js/buggy/editor/ui/dialogs/content/EdTableProps.js