rem: if (fp.show() == nsIFilePicker.returnOK || 
add: if (fp.show() == nsIFilePicker.returnOK || 
context: function backupCerts(){  getSelectedCerts();  var numcerts= selected_certs.length;  var certs = [];  var windowName = "";  for (var t=0; t<numcerts; t++) {    if (selected_certs[t][0]) { // token name      windowName = selected_certs[t].join(":");    } else {      windowName = selected_certs[t][1];    }    certs[t] = windowName;  }  var bundle = srGetStrBundle("chrome://pippki/locale/pippki.properties");  var fp = Components.classes[nsFilePicker].createInstance(nsIFilePicker);  fp.init(window,           bundle.GetStringFromName("chooseP12BackupFileDialog"),          nsIFilePicker.modeSave);  fp.appendFilter("PKCS12 Files (*.p12)", "*.p12");  fp.appendFilters(nsIFilePicker.filterAll);  if (fp.show() == nsIFilePicker.returnOK ||       fp.show() == nsIFilePicker.returnReplace) {    var certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);    certdb.exportPKCS12File(null, fp.file, numcerts, certs);  }  // don't really know it was successful...  alert(bundle.GetStringFromName("SuccessfulP12Backup"));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7a5fb4394820d61dcc503341042d4810efb4245b/certManager.js/clean/security/manager/pki/resources/content/certManager.js