Changeset 5866ad


Ignore:
Timestamp:
Oct 11, 2014, 2:59:28 PM (7 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
d8fb13
Parents:
fc272b
Message:

cleanup account not on window-close but only on compose/save done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • content/v_identity.js

    rfc272b r5866ad  
    7575        ComposeProcessDone: function(aResult) {
    7676            Log.debug("StateListener reports ComposeProcessDone");
     77            vI.vIaccount_removeUsedVIAccount();
    7778            main.Cleanup(); // not really required, parallel handled by main.close
    7879            vI.storage.clean();
     
    8081        SaveInFolderDone: function(folderURI) {
    8182            Log.debug("SaveInFolderDone");
     83            vI.vIaccount_removeUsedVIAccount();
    8284            main.Cleanup();
    8385            vI.storage.clean();
     
    291293        Log.debug("everything cleaned.")
    292294       
     295        // register StateListener
     296        gMsgCompose.RegisterStateListener(main.ComposeStateListener);
     297       
    293298        // now (re)init the elements
    294299        main.initSystemStage1();
     
    370375    Cleanup : function() {
    371376        main.removeVirtualIdentityFromMsgIdentityMenu();
    372         vI.vIaccount_removeUsedVIAccount();
     377//      vI.vIaccount_removeUsedVIAccount();
    373378    },
    374379   
Note: See TracChangeset for help on using the changeset viewer.