rem: var selectedID = document.getElementById("whatnow").selectedItem.id;  if (selectedID == "refuse") { dialogParams.SetInt(1,0); } else { dialogParams.SetInt(1,1);   var userchoice = 1;  if (selectedID == "remember") { userchoice = 0; }  dialogParams.SetInt(2, userchoice); }  
add: dialogParams.SetInt(1, 1); var selectedItem = document.getElementById("whatnow").selectedItem; dialogParams.SetInt(2, parseInt(selectedItem.value)); 
context: function doOK(){  var selectedID = document.getElementById("whatnow").selectedItem.id;  if (selectedID == "refuse") {    dialogParams.SetInt(1,0);  }  else {    dialogParams.SetInt(1,1);    // 0 = accept perm, 1 = accept for this session    var userchoice = 1;        if (selectedID == "remember") {      userchoice = 0;    }    dialogParams.SetInt(2, userchoice);  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/31069e7abdb3a390b8ba17d37fcfdbeecef98707/newserver.js/buggy/security/manager/pki/resources/content/newserver.js