Changeset bb165c


Ignore:
Timestamp:
Jan 4, 2010, 7:31:39 PM (12 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
730d3c
Parents:
542354
Message:

SplitRecipients? changed in TB3

File:
1 edited

Legend:

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

    r542354 rbb165c  
    361361        var recipientType = awGetPopupElement(row).selectedItem.getAttribute("value");
    362362        if (recipientType != "addr_bcc" || !getCurrentIdentity().doBcc) return false
    363         var doBccArray = gMsgCompose.compFields.SplitRecipients(getCurrentIdentity().doBccList, false);
     363
     364        var doBccArray;
     365        if (typeof(gMsgCompose.compFields.SplitRecipients)=="function")
     366            doBccArray = gMsgCompose.compFields.SplitRecipients(getCurrentIdentity().doBccList, false); // TB 2.x
     367        else    doBccArray = gMsgCompose.compFields.splitRecipients(getCurrentIdentity().doBccList, false, {}); // TB 3.x
     368
    364369        for (var index = 0; index < doBccArray.count; index++ ) {
    365370            if (doBccArray.StringAt(index) == awGetInputElement(row).value) {
Note: See TracChangeset for help on using the changeset viewer.