rem: if (hitReturnInList) { hitReturnInList = false; return false; } var popup = document.getElementById('abPopup'); if ( popup ) { var uri = popup.getAttribute('data');    if ( !uri ) return false;    mailList = Components.classes["@mozilla.org/addressbook/directoryproperty;1"].createInstance(); mailList = mailList.QueryInterface(Components.interfaces.nsIAbDirectory); 
add: if (hitReturnInList) { hitReturnInList = false; return false; } var popup = document.getElementById('abPopup'); if ( popup ) { var uri = popup.getAttribute('value'); 
context: function MailListOKButton(){	if (hitReturnInList)	{		hitReturnInList = false;		return false;	}	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		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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b2dd2b2d2fd037df917e07645fa019a963332a5/abMailListDialog.js/buggy/mailnews/addrbook/resources/content/abMailListDialog.js