Changeset a11c79


Ignore:
Timestamp:
Aug 27, 2008, 3:52:52 PM (11 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
640946
Parents:
861b8b
Message:

store Identities before sending, else there are problems at least on MSWindows with the dialog.

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    r861b8b ra11c79  
    452452            if (recipientType == "addr_reply" || recipientType == "addr_followup" ||
    453453                vI_storage.__isDoBcc(row) || awGetInputElement(row).value.match(/^\s*$/) ) continue;
    454             // by using a setTimeout the possible prompt doesn't stopp the MessageSending
    455             window.setTimeout(vI_storage.__updateStorageFromVIdentity, 0, awGetInputElement(row).value, recipientType)
     454            vI_storage.__updateStorageFromVIdentity(awGetInputElement(row).value, recipientType);
    456455        }
    457456        vI_notificationBar.dump("## vI_storage: ----------------------------------------------------------\n")
  • chrome/content/v_identity/v_identity.js

    r861b8b ra11c79  
    283283                vI_account.createAccount();
    284284                vI.addVirtualIdentityToMsgIdentityMenu();
     285                vI_storage.storeVIdentityToAllRecipients(msgType);
    285286                vI.original_functions.GenericSendMessage(msgType);
    286                 vI_storage.storeVIdentityToAllRecipients(msgType);
    287287                if (window.cancelSendMessage) {
    288288                    vI.Cleanup_Account();
Note: See TracChangeset for help on using the changeset viewer.