context: function chooseFile(){  // Get a local file, converted into URL format  fileName = GetLocalFileURL("img");  if (fileName && fileName != "")  {    dialog.BackgroundImage = fileName;    dialog.BackgroundImageInput.value = fileName;    dialog.ColorPreview.setAttribute(backgroundStr, fileName);    // First make a string with just background color    var styleValue = colorStyle+dialog.backgroundColor+";";    if (ValidateImage())    {      // Append image style      styleValue += backImageStyle+dialog.BackgroundImage+");";    }dump(styleValue+"=style value when setting image\n")    // Set style on preview (removes image if not checked or not valid)    dialog.ColorPreview.setAttribute(styleStr, styleValue);  }    // Put focus into the input field  SetTextfieldFocus(dialog.BackgroundImageInput);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/49bc32c783f8e8fbf15d440f1587990451b05b6f/EdColorProps.js/clean/editor/ui/dialogs/content/EdColorProps.js