rem: gProfileManagerBundle.getFormattedString("deleteProfile", 
add: gProfileManagerBundle.getFormattedString("deleteProfileConfirm", 
context: function ConfirmDelete(){  var deleteButton = document.getElementById("delbutton");  var profileList = document.getElementById( "profiles" );  var selectedItem = profileList.selectedItem;  if (!selectedItem) {    return false;  }  var selectedProfile = selectedItem.profile;  var deleteFiles = false;  if (selectedProfile.rootDir.exists()) {    var dialogTitle = gProfileManagerBundle.getString("deleteTitle");    var dialogText =      gProfileManagerBundle.getFormattedString("deleteProfile",                                               [selectedProfile.rootDir.path]);    var buttonPressed = gPromptService.confirmEx(window, dialogTitle, dialogText,                          (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_0) +                          (gPromptService.BUTTON_TITLE_CANCEL * gPromptService.BUTTON_POS_1) +                          (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_2),                          gProfileManagerBundle.getString("dontDeleteFiles"),                          null,                          gProfileManagerBundle.getString("deleteFiles"),                          null, {value:0});    if (buttonPressed == 1)      return false;    if (buttonPressed == 2)      deleteFiles = true;  }    selectedProfile.remove(deleteFiles);  selectedItem.parentNode.removeChild(selectedItem);  return true;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7255df824b3b9e9b22226d86d0a9784df70f4c14/profileSelection.js/buggy/toolkit/profile/content/profileSelection.js