Changeset 7f0007


Ignore:
Timestamp:
Sep 3, 2008, 10:59:29 AM (13 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
4881ea
Parents:
219105
Message:

sometimes objects are destroyed or not ready yet. just check for existance

File:
1 edited

Legend:

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

    r219105 r7f0007  
    373373    synchroneReplyTo : function() {
    374374        vI_notificationBar.dump("## vI_msgIdentityClone: synchroneReplyTo\n");
    375         if ( (vI_msgIdentityClone.replyToPopupElem.selectedItem.value != "addr_reply") ||
     375        if ( (vI_msgIdentityClone.replyToPopupElem.selectedItem) && // might be destroyed...
     376            (vI_msgIdentityClone.replyToPopupElem.selectedItem.value != "addr_reply" ||
    376377            (vI_msgIdentityClone.replyToStoredLastValue &&
    377             vI_msgIdentityClone.replyToInputElem.value != vI_msgIdentityClone.replyToStoredLastValue)) {
     378            vI_msgIdentityClone.replyToInputElem.value != vI_msgIdentityClone.replyToStoredLastValue) ) ) {
    378379            vI_msgIdentityClone.replyToSynchronize = false;
    379380            vI_notificationBar.dump("## vI_msgIdentityClone: (former) Reply-To entry changed, stop synchronizing\n");
Note: See TracChangeset for help on using the changeset viewer.