Changeset fc7e09


Ignore:
Timestamp:
Jul 17, 2008, 3:16:16 AM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
507ef5
Parents:
d61ab0
Message:

repaired reply-to error with pre TB3.0 versions

File:
1 edited

Legend:

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

    rd61ab0 rfc7e09  
    291291    // searches the first reply-to row and assumes that this is the one we like to adapt
    292292    initReplyToFields : function() {
    293         var replyTo = gAccountManager.getIdentity(vI_msgIdentityClone.elements.
    294                 Obj_MsgIdentity_clone.selectedItem.value).replyTo
     293        // TB 1.x doesn'T accept the value without the getAttribute
     294        var id = (vI_msgIdentityClone.elements.Obj_MsgIdentity_clone.selectedItem.value ||
     295            vI_msgIdentityClone.elements.Obj_MsgIdentity_clone.selectedItem.getAttribute("value"))
     296        if (id == "vid") return;
     297        var replyTo = gAccountManager.getIdentity(value).replyTo
    295298        vI_notificationBar.dump("## initReplyToFields identity.replyTo: " + replyTo + "\n");
    296299        if (replyTo == "") return
Note: See TracChangeset for help on using the changeset viewer.