Changeset ee57f7


Ignore:
Timestamp:
Mar 10, 2008, 6:45:57 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
2f89e0
Parents:
036476
Message:

resolved problem with multiple dialogs on reused windows.

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_storage.js

    r036476 ree57f7  
    4747   
    4848    clean: function() {
     49        vI_notificationBar.dump("## vI_storage: clean.\n");
    4950        vI_storage.multipleRecipients = null;
    5051        vI_storage.lastCheckedEmail = {};
  • chrome/content/v_identity/v_identity.js

    r036476 ree57f7  
    9090    original_functions : {
    9191        GenericSendMessage : null,
    92         MsgComposeCloseWindow : null,
    9392    },
    9493
     
    118117            vI_notificationBar.dump("## v_identity: StateListener reports ComposeProcessDone\n");
    119118            vI.Cleanup_Account(); // not really required, parallel handled by vI.close
     119            vI_storage.clean();
    120120        },
    121121        SaveInFolderDone: function(folderURI) {
    122122            vI_notificationBar.dump("## v_identity: SaveInFolderDone\n");
    123123            vI.Cleanup_Account();
     124            vI_storage.clean();
    124125        }
    125126    },
    126127       
    127128    replacement_functions : {
    128         // if the windows gets closed, this is the way to get rid of the account.
    129         MsgComposeCloseWindow : function(recycleIt) {
    130             vI_notificationBar.dump("## v_identity: MsgComposeCloseWindow\n");
    131             //~ alert("before MsgComposeCloseWindow")
    132             //~ vI.original_functions.MsgComposeCloseWindow(false);
    133             //~ alert("after MsgComposeCloseWindow")
    134         },
    135        
    136129        GenericSendMessage: function (msgType) {
    137130            var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
     
    200193        vI_notificationBar.dump("## v_identity: end. remove Account if there.\n")
    201194        vI.Cleanup_Account();
     195        vI_storage.clean();
    202196    },
    203197
     
    230224    close : function() {
    231225        vI.Cleanup_Account();
     226        vI_storage.clean();
    232227    },
    233228   
     
    262257   
    263258    reopen: function() {
    264         vI_notificationBar.clear_dump()
     259        vI_notificationBar.dump("--------------------------------------------------------------------------------\n")
    265260        vI_notificationBar.dump("## v_identity: composeDialog reopened. (msgType " + gMsgCompose.type + ")\n")
    266261       
     
    269264        vI_msgIdentityClone.clean();
    270265        vI_msgIdentityClone.cleanReplyToFields();
    271         vI_storage.clean();
     266        //~ vI_storage.clean();
    272267        vI_smartIdentity.clean();
    273268        vI_notificationBar.dump("## v_identity: everything cleaned.\n")
Note: See TracChangeset for help on using the changeset viewer.