rem: if (IsValidImage(image)) { backgroundImage = image;  styleValue += backImageStyle+backgroundImage+");"; } else { backgroundImage = ""; if (ShowErrorMessage) { SetTextboxFocus(gDialog.BackgroundImageInput);  ShowInputErrorMessage(GetString("MissingImageError")); } } 
add: backgroundImage = image;  styleValue += backImageStyle+backgroundImage+");"; 
context: function ValidateAndPreviewImage(ShowErrorMessage){  // First make a string with just background color  var styleValue = backColorStyle+previewBGColor+";";  var image = TrimString(gDialog.BackgroundImageInput.value);  if (image)  {    if (IsValidImage(image))    {      backgroundImage = image;      // Append image style      styleValue += backImageStyle+backgroundImage+");";    }    else    {      backgroundImage = "";      if (ShowErrorMessage)      {        SetTextboxFocus(gDialog.BackgroundImageInput);        // Tell user about bad image        ShowInputErrorMessage(GetString("MissingImageError"));      }    }  }  else    backgroundImage = "";  // Set style on preview (removes image if not valid)  gDialog.ColorPreview.setAttribute(styleStr, styleValue);    // Set the pref data so pref code saves it   gDialog.BackgroundImageData.setAttribute("value", backgroundImage ? backgroundImage : "");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a6f85ae72f0e53d8d7b064ba5b7b2a598d481f07/pref-composer.js/clean/editor/ui/composer/content/pref-composer.js