rem: globalElement.setAttribute(backgroundStr, dialog.BackgroundImage); } else { globalElement.removeAttribute(backgroundStr); return false; }  
add:  if (backgroundImage) { globalElement.setAttribute(backgroundStr, backgroundImage); } else { globalElement.removeAttribute(backgroundStr); return false; } } 
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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7789da1eb003f85e6cc18242751db9096e6cfc90/EdColorProps.js/buggy/editor/ui/dialogs/content/EdColorProps.js