rem: mailList.listName = document.getElementById('ListName').value; 
add: mailList.listName = document.getElementById('ListName').value; 
context: function GetListValue(mailList, doAdd){	mailList.listName = document.getElementById('ListName').value;	if (mailList.listName.length == 0)	{		var alertText = gAddressBookBundle.getString("emptyListName");		alert(alertText);		return false;	}	else 	{		var listname = mailList.listName;		listname = listname.toLowerCase();		oldListName = oldListName.toLowerCase();		if (doAdd == true)		{			if (mailingListExists(listname))				return false;		}		else if (oldListName != listname)		{			if (mailingListExists(listname))				return false;		}	}	mailList.listNickName = document.getElementById('ListNickName').value;	mailList.description = document.getElementById('ListDescription').value;		var oldTotal = mailList.addressLists.Count();	var i = 1;	var pos = 0;	var inputField, fieldValue, cardproperty;	while ((inputField = awGetInputElement(i)))	{	        fieldValue = inputField.value;		if (doAdd || (doAdd == false && pos >= oldTotal))			cardproperty = Components.classes["@mozilla.org/addressbook/cardproperty;1"].createInstance();		else			cardproperty = mailList.addressLists.GetElementAt(pos);		if (fieldValue == "")		{			if (doAdd == false && cardproperty) 				mailList.removeEmailAddressAt(pos);		}		else if (cardproperty)		{			cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard);			if (cardproperty)			{				var beginpos = fieldValue.search('<');				var endpos = fieldValue.search('>');				if (beginpos != -1)				{					beginpos++;					var newValue = fieldValue.slice(beginpos, endpos);					cardproperty.primaryEmail = newValue;				}				else					cardproperty.primaryEmail = fieldValue;				if (doAdd || (doAdd == false && pos >= oldTotal))					mailList.addressLists.AppendElement(cardproperty);				pos++;			}		}	    i++;	}	if (doAdd == false && i < oldTotal)	{		for (var j = i; j < oldTotal; j++)			mailList.addressLists.RemoveElementAt(j);	}	return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/abMailListDialog.js/clean/mailnews/addrbook/resources/content/abMailListDialog.js