rem: if (GetListValue(mailList, true)) mailList.addMailListToDatabase(uri); 
add: if (GetListValue(mailList, true)) { var parentDirectory = GetDirectoryFromURI(uri); parentDirectory.addMailList(mailList); } 
context: function MailListOKButton(){  var popup = document.getElementById('abPopup');  if ( popup )  {    var uri = popup.getAttribute('value');    // FIX ME - hack to avoid crashing if no ab selected because of blank option bug from template    // should be able to just remove this if we are not seeing blank lines in the ab popup    if ( !uri )      return false;  // don't close window    // -----    //Add mailing list to database    mailList = Components.classes["@mozilla.org/addressbook/directoryproperty;1"].createInstance();    mailList = mailList.QueryInterface(Components.interfaces.nsIAbDirectory);    if (GetListValue(mailList, true))      mailList.addMailListToDatabase(uri);    else      return false;  }  return true;  // close the window}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/cf254a36ae9f33d5379d0657aba6e7c0e2d6e65a/abMailListDialog.js/clean/mailnews/addrbook/resources/content/abMailListDialog.js