add:   if (inputElement.lastValue && inputElement.lastValue == inputElement.value) return; 
context: function AutoCompleteAddress(inputElement){	///////////// (select_doc_id, doc_id)	dump("inputElement = " + inputElement + "\n");	var row = awGetRowByInputElement(inputElement);	    var select = awGetPopupElement(row);		dump("select = " + select + "\n");	dump("select.value = " + select.value + "\n");		if (select.value == "") 		return;	if (select.value == "addr_newsgroups") {		dump("don't autocomplete, it's a newsgroup");		return;	}		var ac = Components.classes['component://netscape/messenger/autocomplete&type=addrbook'];	if (ac) {		ac = ac.getService();	}       	if (ac) {		ac = ac.QueryInterface(Components.interfaces.nsIAutoCompleteSession);	}    if (!identityElement)        identityElement = document.getElementById("msgIdentity");    var identity=null;        if (identityElement) {        idKey = identityElement.value;        identity = accountManager.getIdentity(idKey);    }	ac.autoComplete(identity, inputElement, inputElement.value, AddressAutoCompleteListener);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5fef87419a9b4f75b221078c9f3238a0211b0989/addressAutoComplete.js/buggy/mailnews/compose/resources/content/addressAutoComplete.js