rem: doSetOKCancel(MailListOKButton, 0); 
add: doSetOKCancel(MailListOKButton, 0); 
context: function OnLoadMailList(){  //XXX: gAddressBookBundle is set in 2 places because of different callers  gAddressBookBundle = document.getElementById("bundle_addressBook");	doSetOKCancel(MailListOKButton, 0);	var selectedAB;	if (window.arguments && window.arguments[0])	{		if ( window.arguments[0].selectedAB )			selectedAB = window.arguments[0].selectedAB;		else			selectedAB = "abdirectory://abook.mab";	}	// set popup with address book names	var abPopup = document.getElementById('abPopup');	if ( abPopup )	{		var menupopup = document.getElementById('abPopup-menupopup');				if ( selectedAB && menupopup && menupopup.childNodes )		{			for ( var index = menupopup.childNodes.length - 1; index >= 0; index-- )			{				if ( menupopup.childNodes[index].getAttribute('data') == selectedAB )				{					abPopup.value = menupopup.childNodes[index].getAttribute('value');					abPopup.data = menupopup.childNodes[index].getAttribute('data');					break;				}			}		}	}		AppendnewRowAndSetFocus();	// focus on first name	var listName = document.getElementById('ListName');	if ( listName )		listName.focus();	moveToAlertPosition();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/0b2dd2b2d2fd037df917e07645fa019a963332a5/abMailListDialog.js/buggy/mailnews/addrbook/resources/content/abMailListDialog.js