rem: if (dialog.textColor || dialog.linkColor || dialog.visitedLinkColor || dialog.activeLinkColor || dialog.backgroundColor) 
add: 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) 
context: function InitDialog(){  SetColor("textCW",       globalElement.getAttribute(textStr));  SetColor("linkCW",       globalElement.getAttribute(linkStr));  SetColor("visitedCW",    globalElement.getAttribute(vlinkStr));  SetColor("activeCW",     globalElement.getAttribute(alinkStr));  SetColor("backgroundCW", globalElement.getAttribute(bgcolorStr));  if (dialog.textColor ||      dialog.linkColor ||      dialog.visitedLinkColor ||      dialog.activeLinkColor ||      dialog.backgroundColor)  {    // If any colors are set, then check the "Custom" radio button    dialog.CustomColorsRadio.checked = true;  } else {    dialog.DefaultColorsRadio.checked = true;  }    // Save a copy to use when switching from UseDefault to UseCustom  SaveCustomColors();  // Get image from document  dialog.BackgroundImage = globalElement.getAttribute(backgroundStr);  if (dialog.BackgroundImage)  {    dialog.BackgroundImageInput.value = dialog.BackgroundImage;    dialog.ColorPreview.setAttribute(backgroundStr, dialog.BackgroundImage);  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7789da1eb003f85e6cc18242751db9096e6cfc90/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js