Changeset c0fe7f
- Timestamp:
- Oct 15, 2009, 9:38:29 PM (13 years ago)
- Branches:
- lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
- Children:
- ef65ae
- Parents:
- c8d2f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_smartIdentity.js
rc8d2f3 rc0fe7f 386 386 if (!autocreate && vI.preferences.getBoolPref("idSelection_ask") && 387 387 ((allIdentities.number == 1 && vI.preferences.getBoolPref("idSelection_ask_always")) 388 || allIdentities.number > 1)) 388 || allIdentities.number > 1)) { 389 for (var index = 0; index < allIdentities.number; index++) { 390 vI_notificationBar.dump("## vI_smartIdentityReplyDialog index=" + index + ": '" + allIdentities.identityDataCollection[index].combinedName + "' " 391 + "(" + allIdentities.identityDataCollection[index].id.value + "," + allIdentities.identityDataCollection[index].smtp.value + ")\n"); 392 } 389 393 window.openDialog("chrome://v_identity/content/vI_smartReplyDialog.xul",0, // give the Dialog a unique id 390 394 "chrome, dialog, modal, alwaysRaised, resizable=yes", 391 395 allIdentities, 392 396 /* callback: */ vI_smartIdentity.changeIdentityToSmartIdentity).focus(); 397 } 393 398 else if (autocreate || vI.preferences.getBoolPref("idSelection_autocreate")) { 394 399 vI_smartIdentity.changeIdentityToSmartIdentity(allIdentities, 0); … … 397 402 398 403 changeIdentityToSmartIdentity : function(allIdentities, selectedValue) { 404 vI_notificationBar.dump("## changeIdentityToSmartIdentity selectedValue=" + selectedValue + ": '" + allIdentities.identityDataCollection[selectedValue].combinedName + "' " 405 + "(" + allIdentities.identityDataCollection[selectedValue].id.value + "," + allIdentities.identityDataCollection[selectedValue].smtp.value + ")\n"); 399 406 document.getElementById("msgIdentity_clone").selectedMenuItem = allIdentities.menuItems[selectedValue]; 400 401 407 if (document.getElementById("msgIdentity_clone").vid) { 402 408 var label=vI.elements.strings.getString("vident.smartIdentity.vIUsage");
Note: See TracChangeset
for help on using the changeset viewer.