This is just some static backup of the original site, don't expect every link to work!

Changeset c6118b


Ignore:
Timestamp:
Feb 6, 2010, 2:31:12 PM (13 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
424a52
Parents:
ea0667
Message:

fix for problem with Identity-Selection (#217)

File:
1 edited

Legend:

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

    rea0667 rc6118b  
    366366   
    367367    __smartIdentitySelection : function(allIdentities, autocreate) {
    368         document.getElementById("msgIdentity_clone").addIdentitiesToCloneMenu(allIdentities);
    369 
    370368        /* compare with existing Identities                                     */
    371369        for (var index = 0; index < allIdentities.number; index++) {
     
    376374                if (vI.preferences.getBoolPref("idSelection_preferExisting")) {
    377375                    vI_notificationBar.dump("## vI_smartIdentity: found existing Identity, use without interaction.\n");
     376                    // add all Indentities to Clone Menu before selecting and leaving the function
     377                    document.getElementById("msgIdentity_clone").addIdentitiesToCloneMenu(allIdentities);
    378378                    vI_smartIdentity.changeIdentityToSmartIdentity(allIdentities, index);
    379379                    return;
    380380                }
    381381                // else reorder list of Identities to prefer it on autoselect
     382                // has to be done before Identities are added to the Menu
    382383                vI_notificationBar.dump("## vI_smartIdentity: found existing Identity, prefer this one.\n");
    383384                var firstIdentity = allIdentities.identityDataCollection[index];
     
    390391        }
    391392       
     393        document.getElementById("msgIdentity_clone").addIdentitiesToCloneMenu(allIdentities);
     394
    392395        if (!autocreate && vI.preferences.getBoolPref("idSelection_ask") &&
    393396            ((allIdentities.number == 1 && vI.preferences.getBoolPref("idSelection_ask_always"))
Note: See TracChangeset for help on using the changeset viewer.