Changeset c6118b for chrome/content/v_identity/vI_smartIdentity.js
- Timestamp:
- Feb 6, 2010, 2:31:12 PM (13 years ago)
- Branches:
- multiEdit, ng_0.6, ng_0.8, ng_0.9
- Children:
- 424a52
- Parents:
- ea0667
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_smartIdentity.js
rea0667 rc6118b 366 366 367 367 __smartIdentitySelection : function(allIdentities, autocreate) { 368 document.getElementById("msgIdentity_clone").addIdentitiesToCloneMenu(allIdentities);369 370 368 /* compare with existing Identities */ 371 369 for (var index = 0; index < allIdentities.number; index++) { … … 376 374 if (vI.preferences.getBoolPref("idSelection_preferExisting")) { 377 375 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); 378 378 vI_smartIdentity.changeIdentityToSmartIdentity(allIdentities, index); 379 379 return; 380 380 } 381 381 // else reorder list of Identities to prefer it on autoselect 382 // has to be done before Identities are added to the Menu 382 383 vI_notificationBar.dump("## vI_smartIdentity: found existing Identity, prefer this one.\n"); 383 384 var firstIdentity = allIdentities.identityDataCollection[index]; … … 390 391 } 391 392 393 document.getElementById("msgIdentity_clone").addIdentitiesToCloneMenu(allIdentities); 394 392 395 if (!autocreate && vI.preferences.getBoolPref("idSelection_ask") && 393 396 ((allIdentities.number == 1 && vI.preferences.getBoolPref("idSelection_ask_always"))
Note: See TracChangeset
for help on using the changeset viewer.