rem: globalElement.setAttribute(textStr,    dialog.textColor); globalElement.setAttribute(linkStr,    dialog.linkColor); globalElement.setAttribute(vlinkStr,   dialog.visitedLinkColor); globalElement.setAttribute(alinkStr,   dialog.activeLinkColor); globalElement.setAttribute(bgcolorStr, dialog.backgroundColor); 
add: globalElement.setAttribute(textStr,    customTextColor); globalElement.setAttribute(linkStr,    customLinkColor); globalElement.setAttribute(vlinkStr,   customVisitedColor); globalElement.setAttribute(alinkStr,   customActiveColor); globalElement.setAttribute(bgcolorStr, customBackgroundColor); 
context: function ValidateData(){  // Colors values are updated as they are picked, no validation necessary  if (dialog.DefaultColorsRadio.checked)  {    globalElement.removeAttribute(textStr);    globalElement.removeAttribute(linkStr);    globalElement.removeAttribute(vlinkStr);    globalElement.removeAttribute(alinkStr);    globalElement.removeAttribute(bgcolorStr);  }  else  {    globalElement.setAttribute(textStr,    dialog.textColor);    globalElement.setAttribute(linkStr,    dialog.linkColor);    globalElement.setAttribute(vlinkStr,   dialog.visitedLinkColor);    globalElement.setAttribute(alinkStr,   dialog.activeLinkColor);    globalElement.setAttribute(bgcolorStr, dialog.backgroundColor);  }  if (ValidateImage())  {    globalElement.setAttribute(backgroundStr, dialog.BackgroundImage);  } else {    globalElement.removeAttribute(backgroundStr);    return false;  }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js