rem: if (TableOrCell && gDialog.TableRadio.checked) 
add: if (TableOrCell && gDialog.TableRadio.selected) 
context: function onOK(){  if (!ValidateData())    return false;  // Set return values and save in persistent color attributes  if (TextType)  {    gColorObj.TextColor = gColor;    if (gColor.length > 0)    {      gDialog.LastPickedColor.setAttribute("LastTextColor", gColor);      gColorObj.LastTextColor = gColor;    }  }  else  {    gColorObj.BackgroundColor = gColor;    if (gColor.length > 0)    {      gDialog.LastPickedColor.setAttribute("LastBackgroundColor", gColor);      gColorObj.LastBackgroundColor = gColor;    }    // If table or cell requested, tell caller which element to set on    if (TableOrCell && gDialog.TableRadio.checked)      gColorObj.Type = "Table";  }  SaveWindowLocation();  return true; // do close the window}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4d542172d7a025005947453f69c49fd2a43a200e/EdColorPicker.js/clean/editor/ui/dialogs/content/EdColorPicker.js