rem:  if (promptService) promptService.alertCheck(window, SaveDlgTitle, dlgMsg, CheckMsg, checkbox); 
add: if (!gPromptService) { gPromptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(); gPromptService = gPromptService.QueryInterface(Components.interfaces.nsIPromptService); } if (gPromptService) gPromptService.alertCheck(window, SaveDlgTitle, dlgMsg, CheckMsg, checkbox); 
context: function DisplaySaveFolderDlg(folderURI){  try{    showDialog = currentIdentity.showSaveMsgDlg;  }//try  catch (e){    return;  }//catch  if (showDialog){    var msgfolder = GetMsgFolderFromUri(folderURI);    if (!msgfolder)      return;		var checkbox = {value:0};    var SaveDlgTitle = gComposeMsgsBundle.getString("SaveDialogTitle");    var dlgMsg = gComposeMsgsBundle.getFormattedString("SaveDialogMsg",                                                       [msgfolder.name,                                                        msgfolder.hostname]);    var CheckMsg = gComposeMsgsBundle.getString("CheckMsg");    if (promptService)      promptService.alertCheck(window, SaveDlgTitle, dlgMsg, CheckMsg, checkbox);    else      window.alert(dlgMsg);    try {          currentIdentity.showSaveMsgDlg = !checkbox.value;    }//try    catch (e) {    return;    }//catch  }//if  return;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/58c2cb97b722e415727774a9972e3080113344e5/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js