Changeset ef65ae
- Timestamp:
- Oct 15, 2009, 10:13:04 PM (13 years ago)
- Branches:
- lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
- Children:
- 47e482, 90d3d0
- Parents:
- c0fe7f
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chrome/content/v_identity/vI_smartIdentity.js
rc0fe7f ref65ae 415 415 416 416 __removeSmartIdentityFromRecipients : function(allIdentities, index) { 417 if (!vI.preferences.getBoolPref("idSelection_removeSmartIdentityFromRecipients")) return; 418 419 // check if selected email is defined as doBcc address. If so, it should not be removed. 417 420 var skip_bcc = false; 418 419 421 if (getCurrentIdentity().doBcc) { 420 422 var bcc_addresses = new identityCollection(); … … 427 429 } 428 430 } 431 432 // check if there is more than one recipient for this mail. If not, preserve the only one existing. 433 var recipientCount = 0; 434 for (var row = 1; row <= top.MAX_RECIPIENTS; row ++) { 435 var recipientType = awGetPopupElement(row).selectedItem.getAttribute("value"); 436 if (recipientType == "addr_to" || recipientType == "addr_cc") recipientCount++; 437 } 438 if (recipientCount < 2) return; 439 429 440 430 441 for (var row = 1; row <= top.MAX_RECIPIENTS; row ++) { -
defaults/preferences/preferences.js
rc0fe7f ref65ae 57 57 pref("extensions.virtualIdentity.idSelection_autocreate", true); 58 58 pref("extensions.virtualIdentity.idSelection_preferExisting", true); 59 pref("extensions.virtualIdentity.idSelection_removeSmartIdentityFromRecipients", true); 59 60 pref("extensions.virtualIdentity.autoReplyToSelf", false); 60 61 pref("extensions.{dddd428e-5ac8-4a81-9f78-276c734f75b8}.description", "chrome://v_identity/locale/v_identity.properties");
Note: See TracChangeset
for help on using the changeset viewer.