rem: DialogResultsPaneSelectionChanged(); 
context: function OnLoadSelectAddress(){  gAddressBookBundle = document.getElementById("bundle_addressBook");  prefixTo = gAddressBookBundle.getString("prefixTo") + ": ";  prefixCc = gAddressBookBundle.getString("prefixCc") + ": ";  prefixBcc = gAddressBookBundle.getString("prefixBcc") + ": ";  InitCommonJS();  var toAddress="", ccAddress="", bccAddress="";  doSetOKCancel(SelectAddressOKButton, 0);  top.addressbook = Components.classes["@mozilla.org/addressbook;1"].createInstance();  top.addressbook = top.addressbook.QueryInterface(Components.interfaces.nsIAddressBook);  top.gDialogResultsPaneSelectionChanged = DialogResultsPaneSelectionChanged;  // look in arguments[0] for parameters  if (window.arguments && window.arguments[0])  {    // keep parameters in global for later    if ( window.arguments[0].composeWindow )      top.composeWindow = window.arguments[0].composeWindow;    if ( window.arguments[0].msgCompFields )      top.msgCompFields = window.arguments[0].msgCompFields;    if ( window.arguments[0].toAddress )      toAddress = window.arguments[0].toAddress;    if ( window.arguments[0].ccAddress )      ccAddress = window.arguments[0].ccAddress;    if ( window.arguments[0].bccAddress )      bccAddress = window.arguments[0].bccAddress;    dump("onload top.composeWindow: " + top.composeWindow + "\n");    dump("onload toAddress: " + toAddress + "\n");    // put the addresses into the bucket    AddAddressFromComposeWindow(toAddress, prefixTo);    AddAddressFromComposeWindow(ccAddress, prefixCc);    AddAddressFromComposeWindow(bccAddress, prefixBcc);  }  SelectFirstAddressBook();  DialogResultsPaneSelectionChanged();  DialogBucketPaneSelectionChanged();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d08d4d3f9753b01573c0820f3dc3010c62295d11/abSelectAddressesDialog.js/buggy/mailnews/addrbook/resources/content/abSelectAddressesDialog.js