Changeset 036476


Ignore:
Timestamp:
Mar 9, 2008, 12:28:06 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
ee57f7
Parents:
3e9a6c
Message:

re-added cleanup function

File:
1 edited

Legend:

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

    r3e9a6c r036476  
    337337        vI.storeBaseIdentity = null;
    338338    },
    339    
     339
     340    // Clean all the things I had changed (except the FillIdentityListPopup)
     341    Cleanup : function()
     342    {
     343        vI_notificationBar.dump("## v_identity: Cleanup\n");
     344        vI.Cleanup_Account();
     345       
     346        // restore function
     347        if (GenericSendMessage == vI.replacement_functions.GenericSendMessage) {
     348            GenericSendMessage = function (msgType) {
     349                vI.msgType = msgType; if (vI.warning(msgType)) {
     350                    vI.original_functions.GenericSendMessage(msgType);
     351                    vI_storage.storeVIdentityToAllRecipients(msgType); } }
     352            vI_notificationBar.dump("## v_identity: restored GenericSendMessage (Virtual Identity deactivated)\n");
     353        }
     354    },
     355
    340356    // removes the account
    341357    Cleanup_Account : function() {
Note: See TracChangeset for help on using the changeset viewer.