rem: var numcerts= selected_certs.length; /* var windowName = ""; for (var t=0; t<selected_certs.length; t++) { if (selected_certs[t][0] && selected_certs[t][0] != "PSM Certificate Database") { windowName = selected_certs[t].join(":"); } else { windowName = selected_certs[t][1]; } */ 
add: var numcerts = selected_certs.length; 
context: function deleteCerts(){  getSelectedCerts();  var numcerts= selected_certs.length;/*  var windowName = "";  for (var t=0; t<selected_certs.length; t++) {    if (selected_certs[t][0] &&        selected_certs[t][0] != "PSM Certificate Database") { // token name      windowName = selected_certs[t].join(":");    } else {      windowName = selected_certs[t][1];    }*/  for (var t=0; t<numcerts; t++) {    //var token = tokendb.findTokenByName(selected_certs[t][0]);    var token = null;    var cert = certdb.getCertByDBKey(selected_certs[t][1], token);    alert("You want to delete \"" + cert.windowTitle + "\"");/*    window.open('chrome://pippki/content/deleteCert.xul', windowName,                'chrome,width=500,height=400,resizable=1');*/  }  LoadCertNames();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/31c82812d4fbec801984edc0a495dcc1b57b621e/certManager.js/clean/security/manager/pki/resources/content/certManager.js