Changeset 3b41f3


Ignore:
Timestamp:
May 10, 2008, 1:05:45 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
78fa34
Parents:
0bac35
Message:

don't replace Identity for Drafts if none found

File:
1 edited

Legend:

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

    r0bac35 r3b41f3  
    106106        allIdentities.mergeWithoutDuplicates(storageIdentities);
    107107           
    108         vI_smartIdentity.__smartIdentitySelection(allIdentities, true);
    109    
     108        if (allIdentities.number > 0) vI_smartIdentity.__smartIdentitySelection(allIdentities, true);
    110109    },
    111110   
     
    250249        vI_notificationBar.dump("## vI_smartIdentity: merged SmartReply & Storage, " + allIdentities.number + " address(es) left\n")
    251250       
    252         if (allIdentities.number == 0) return;
    253        
    254         vI_smartIdentity.__smartIdentitySelection(allIdentities, false);
     251        if (allIdentities.number > 0) vI_smartIdentity.__smartIdentitySelection(allIdentities, false);
    255252    },
    256253   
Note: See TracChangeset for help on using the changeset viewer.