rem: if (customTextColor       || customLinkColor       || customVisitedColor    || customActiveColor     || customBackgroundColor) 
add: var haveCustomColor = customTextColor       || customLinkColor       || customVisitedColor    || customActiveColor     || customBackgroundColor;   if (!customTextColor) customTextColor = defaultTextColor; if (!customLinkColor) customLinkColor = defaultLinkColor; if (!customActiveColor) customActiveColor = defaultActiveColor; if (!customVisitedColor) customVisitedColor = defaultVisitedColor; if (!customBackgroundColor) customBackgroundColor = defaultBackgroundColor;  if (haveCustomColor) 
context: function InitDialog(){  // Get image from document  backgroundImage = globalElement.getAttribute(backgroundStr);  if (backgroundImage.length > 0)  {    dialog.BackgroundImageInput.value = backgroundImage;    dialog.ColorPreview.setAttribute(styleStr, backImageStyle+backgroundImage+");");  }  customTextColor        = globalElement.getAttribute(textStr);  customLinkColor        = globalElement.getAttribute(linkStr);  customActiveColor      = globalElement.getAttribute(alinkStr);  customVisitedColor     = globalElement.getAttribute(vlinkStr);  customBackgroundColor  = globalElement.getAttribute(bgcolorStr);  if (customTextColor       ||      customLinkColor       ||      customVisitedColor    ||      customActiveColor     ||      customBackgroundColor)  {    // Set default color explicitly for any that are missing    if (!customTextColor) customTextColor = defaultTextColor;    if (!customLinkColor) customLinkColor = defaultLinkColor;    if (!customActiveColor) customActiveColor = defaultActiveColor;    if (!customVisitedColor) customVisitedColor = defaultVisitedColor;    if (!customBackgroundColor) customBackgroundColor = defaultBackgroundColor;    // If any colors are set, then check the "Custom" radio button    dialog.CustomColorsRadio.checked = true;    UseCustomColors();  }  else   {    dialog.DefaultColorsRadio.checked = true;    UseDefaultColors();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/5986ab59396a3071965154ed4499fa5a734750cd/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js