rem: if (!gSetupLdapAutocomplete) { try { 
add:  if (!gSetupLdapAutocomplete) { try { 
context: function setupAutocomplete(){  //Setup autocomplete session if we haven't done so already  if (!gAutocompleteSession) {    gAutocompleteSession = Components.classes["@mozilla.org/autocompleteSession;1?type=addrbook"].getService(Components.interfaces.nsIAbAutoCompleteSession);    if (gAutocompleteSession) {      setDomainName();      // if the pref is set to turn on the comment column, honor it here.      // this element then gets cloned for subsequent rows, so they should       // honor it as well      //      try {          if (sPrefs.getBoolPref("mail.autoComplete.highlightNonMatches"))            document.getElementById('addressCol2#1').highlightNonMatches = true;          if (sPrefs.getIntPref("mail.autoComplete.commentColumn")) {            document.getElementById('addressCol2#1').showCommentColumn = true;          }      } catch (ex) {          // if we can't get this pref, then don't show the columns (which is          // what the XUL defaults to)      }                  } else {      gAutocompleteSession = 1;    }  }  if (!gSetupLdapAutocomplete) {      try {          setupLdapAutocompleteSession();      } catch (ex) {          // catch the exception and ignore it, so that if LDAP setup           // fails, the entire compose window doesn't end up horked      }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/92782be5d6019ea0a8e575af1d6a03c9d9791a14/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js