rem:  widget.parentNode.closePopup(); SetColor(ColorWellID, getColor(ColorPickerID)); 
add:  if (!dialog.CustomColorsRadio.checked) return;  var colorObj = new Object; var colorWell = document.getElementById(ColorWellID); if (!colorWell) return;   colorObj.NoDefault = true;  switch( ColorWellID ) { case "textCW": colorObj.Type = "Text"; colorObj.TextColor = customTextColor; break; case "linkCW": colorObj.Type = "Link"; colorObj.TextColor = customLinkColor; break; case "activeCW": colorObj.Type = "ActiveLink"; colorObj.TextColor = customActiveColor; break; case "visitedCW": colorObj.Type = "VisitedLink"; colorObj.TextColor = customVisitedColor; break; case "backgroundCW": colorObj.Type = "Page"; colorObj.PageColor = customBackgroundColor; break; }  window.openDialog("chrome:   if (colorObj.Cancel) return;  color = ""; switch( ColorWellID ) { case "textCW": color = customTextColor = colorObj.TextColor; break; case "linkCW": color = customLinkColor = colorObj.TextColor; break; case "activeCW": color = customActiveColor = colorObj.TextColor; break; case "visitedCW": color = customVisitedColor = colorObj.TextColor; break; case "backgroundCW": color = customBackgroundColor = colorObj.BackgroundColor; break; }  setColorWell(ColorWellID, color); SetColorPreview(ColorWellID, color); 
context: function GetColorAndUpdate(ColorPickerID, ColorWellID, widget){  // Close the colorpicker  widget.parentNode.closePopup();  SetColor(ColorWellID, getColor(ColorPickerID));    // Setting a color automatically changes into UseCustomColors mode  dialog.CustomColorsRadio.checked = 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