rem: /* todo: i18N work todo here */ /* this used to be XP_GetString(MK_ADDR_FIRST_LAST_SEP) */  var separator = ""; if ( lastNameField.value && firstNameField.value ) { 
add: if (lastNameField.value && firstNameField.value) { 
context: function GenerateDisplayName(){  if ( editCard.generateDisplayName )  {    var displayName;    var firstNameField = document.getElementById('FirstName');    var lastNameField = document.getElementById('LastName');    var displayNameField = document.getElementById('DisplayName');    /* todo: i18N work todo here */    /* this used to be XP_GetString(MK_ADDR_FIRST_LAST_SEP) */    var separator = "";    if ( lastNameField.value && firstNameField.value )    {      if ( editCard.displayLastNameFirst )        separator = editCard.lastFirstSeparator;      else        separator = editCard.firstLastSeparator;    }    if ( editCard.displayLastNameFirst )      displayName = lastNameField.value + separator + firstNameField.value;    else      displayName = firstNameField.value + separator + lastNameField.value;    displayNameField.value = displayName;        top.window.title = gAddressBookBundle.getFormattedString(editCard.titleProperty,                                                                 [ displayName ]);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d08d4d3f9753b01573c0820f3dc3010c62295d11/abCardOverlay.js/buggy/mailnews/addrbook/resources/content/abCardOverlay.js