Changeset f0f59c


Ignore:
Timestamp:
Nov 17, 2011, 10:41:58 AM (9 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
b08078
Parents:
598551
Message:

upps, vIaccount is in namespace virtualIdentityExtension / vI

Location:
content
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • content/vI_upgrade.js

    r598551 rf0f59c  
    9494        if (upgrade.rdfDatasource.extUpgradeRequired()) upgrade.extUpgrade();
    9595       
    96         vIaccount_cleanupSystem();
     96        vI.vIaccount_cleanupSystem();
    9797    },         
    9898
  • content/vI_upgradeOverlay.js

    r598551 rf0f59c  
    3838        }
    3939        else {
    40             vIaccount_cleanupSystem(); // always clean leftover accounts and directories
     40            vI.vIaccount_cleanupSystem(); // always clean leftover accounts and directories
    4141            rdfDatasource.storeExtVersion();
    4242        }
  • content/v_identity.js

    r598551 rf0f59c  
    151151            var virtualIdentityData = document.getElementById("virtualIdentityExtension_msgIdentityClone").identityData;
    152152           
    153             returnValue = vIaccount_prepareSendMsg( vid, msgType, virtualIdentityData,
     153            returnValue = vI.vIaccount_prepareSendMsg(  vid, msgType, virtualIdentityData,
    154154                            main.accountManager.getIdentity(main.elements.Obj_MsgIdentity.value),
    155155                            main._getRecipients() );
     
    170170           
    171171            // final check if eyerything is nice before we handover to the real sending...
    172             if (vIaccount_finalCheck(virtualIdentityData, getCurrentIdentity())) {
     172            if (vI.vIaccount_finalCheck(virtualIdentityData, getCurrentIdentity())) {
    173173                main.replacement_functions.GenericSendMessageInProgress = false;
    174174                main.original_functions.GenericSendMessage(msgType);
     
    354354       
    355355        // set the account name in the choosen menu item
    356         main.tempStorage.NewIdentity.setAttribute("label", get_vIaccount().defaultIdentity.identityName);
    357         main.tempStorage.NewIdentity.setAttribute("accountname", " - " +  get_vIaccount().incomingServer.prettyName);
    358         main.tempStorage.NewIdentity.setAttribute("accountkey", get_vIaccount().key);
    359         main.tempStorage.NewIdentity.setAttribute("value", get_vIaccount().defaultIdentity.key);
     356        main.tempStorage.NewIdentity.setAttribute("label", vI.get_vIaccount().defaultIdentity.identityName);
     357        main.tempStorage.NewIdentity.setAttribute("accountname", " - " +  vI.get_vIaccount().incomingServer.prettyName);
     358        main.tempStorage.NewIdentity.setAttribute("accountkey", vI.get_vIaccount().key);
     359        main.tempStorage.NewIdentity.setAttribute("value", vI.get_vIaccount().defaultIdentity.key);
    360360       
    361361        main.elements.Obj_MsgIdentityPopup.appendChild(main.tempStorage.NewIdentity);
     
    376376    prepareAccount : function() {
    377377        main.Cleanup(); // just to be sure that nothing is left (maybe last time sending was irregularily stopped)
    378         vIaccount_createAccount(document.getElementById("virtualIdentityExtension_msgIdentityClone").identityData,
     378        vI.vIaccount_createAccount(document.getElementById("virtualIdentityExtension_msgIdentityClone").identityData,
    379379                                 main.accountManager.getIdentity(main.elements.Obj_MsgIdentity.value));
    380380        main.addVirtualIdentityToMsgIdentityMenu();
     
    383383    Cleanup : function() {
    384384        main.removeVirtualIdentityFromMsgIdentityMenu();
    385         vIaccount_removeUsedVIAccount();
     385        vI.vIaccount_removeUsedVIAccount();
    386386    },
    387387   
Note: See TracChangeset for help on using the changeset viewer.