rem: gPrefs.SetIntPref("offline.send.unsent_messages", 0); 
add: gPrefs.setIntPref("offline.send.unsent_messages", 0); 
context: function PromptSendMessages(){  InitPrompts();  InitServices();  if (gPromptService) {    var buttonPressed = {value:0};    var checkValue = {value:true};    gPromptService.confirmEx(window,                             gOfflinePromptsBundle.getString('sendMessagesWindowTitle'),                             gOfflinePromptsBundle.getString('sendMessagesLabel'),                            (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_0) +                            (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_2) +                            (gPromptService.BUTTON_TITLE_IS_STRING * gPromptService.BUTTON_POS_1),                            gOfflinePromptsBundle.getString('sendMessagesSendButtonLabel'),                            gOfflinePromptsBundle.getString('sendMessagesCancelButtonLabel'),                            gOfflinePromptsBundle.getString('sendMessagesNoSendButtonLabel'),                            gOfflinePromptsBundle.getString('sendMessagesCheckboxLabel'),                             checkValue, buttonPressed);    if(buttonPressed) {      if(buttonPressed.value == 0) {        if(checkValue.value)           gPrefs.SetIntPref("offline.send.unsent_messages", 0);        else           gPrefs.SetIntPref("offline.send.unsent_messages", 1);        gOfflineManager.goOnline(true /* sendUnsentMessages */,                                  true /* playbackOfflineImapOperations */,                                  msgWindow);        return true;      }      else if(buttonPressed.value == 1) {        return false;      }      else if(buttonPressed.value == 2) {        if(checkValue.value)           gPrefs.SetIntPref("offline.send.unsent_messages", 0);        else           gPrefs.SetIntPref("offline.send.unsent_messages", 2);        gOfflineManager.goOnline(false /* sendUnsentMessages */,                                  true /* playbackOfflineImapOperations */,                                  msgWindow);        return true;      }    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/faf03ce445712b372523f881cc3144cfadc7a611/mail-offline.js/buggy/mailnews/base/resources/content/mail-offline.js