rem: if (GetListValue(mailList)) 
add: if (GetListValue(mailList, true)) 
context: function MailListOKButton(){	var popup = document.getElementById('abPopup');	if ( popup )	{		var uri = popup.getAttribute('data');				// 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		var mailList = Components.classes["component://netscape/addressbook/directoryproperty"].createInstance();		mailList = mailList.QueryInterface(Components.interfaces.nsIAbDirectory);		if (GetListValue(mailList))			mailList.addMailListToDatabase(uri);		else			return false;	}			return true;	// close the window}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/928bc618f68b98587c5cf53d439007fb16cfb161/abMailListDialog.js/buggy/mailnews/addrbook/resources/content/abMailListDialog.js