rem: var imageName = dialog.TableImageInput.value.trimString(); if (imageName && imageName != "") 
add: if (dialog.CellImageCheckbox.checked) 
context: function ValidateCellData(){  validatePanel = CellPanel;  var temp;  temp = ValidateNumber("CellHeightInput", dialog.TableHeightUnits,                          1, maxPixels, globalCellElement, "height");  if (error) return false;  temp = ValidateNumber("CellWidthInput", dialog.TableWidthUnits,                          1, maxPixels, globalCellElement, "width");  if (error) return false;    // Vertical alignment is complicated by "char" type  var hAlign = dialog.CellHAlignSelect.value;dump("Cell hAlign = "+hAlign+"\n");  var index = dialog.CellHAlignSelect.selectedIndex;dump("HAlign index="+index+"\n");  if (index == defHAlignIndex)  {    globalCellElement.removeAttribute("hAlign");    globalCellElement.removeAttribute(charStr);  }  else  {    if (index == charIndex)    {      var alignChar = dialog.CellAlignCharInput.value.trimString();       globalCellElement.setAttribute(charStr, alignChar);dump("Alignment char="+alignChar+" Align Value="+dialog.CellHAlignSelect.value+"\n");    }    globalCellElement.setAttribute("align",dialog.CellHAlignSelect.value);  }  SetAlign("CellVAlignSelect", defVAlignIndex, globalCellElement, "valign");  var shouldBeHeader = dialog.HeaderCheck.checked;  if (shouldBeHeader != CellIsHeader)  {    //TODO: THIS IS MESSY! Convert exisisting TD to TH or vice versa  }    if (dialog.NoWrapCheck.checked)    globalCellElement.setAttribute("nowrap","true");  else    globalCellElement.removeAttribute("nowrap");  // Background Image  var imageName = dialog.TableImageInput.value.trimString();  if (imageName && imageName != "")  {    if (IsValidImage(imageName))      globalCellElement.background = imageName;    else    {      dialog.CellImageInput.focus();      // Switch to appropriate panel for error reporting      SwitchPanel(validatePanel);      ShowInputErrorMessage(GetString("MissingImageError"));    }  } else {    globalCellElement.removeAttribute("background");  }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/79313083a5c8e1f1dcbd993236abae392fc4554e/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js