rem: fp.init(window, document.getElementById("fpDialog").getAttribute("value"), nsIFilePicker.modeSave); 
add: fp.init(window, document.getElementById("fpDialog").getAttribute("label"), nsIFilePicker.modeSave); 
context: function onChooseFile(){  if (dialog.fileRadio.checked == false) {    return;  }  try {    var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);    fp.init(window, document.getElementById("fpDialog").getAttribute("value"), nsIFilePicker.modeSave);    fp.appendFilters(nsIFilePicker.filterAll);    fp.show();    if (fp.file && fp.file.path.length > 0) {      dialog.fileInput.value = fp.file.path;    }  } catch(ex) {    dump(ex);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/printdialog.js/buggy/xpfe/global/resources/content/unix/printdialog.js