rem: var popup = document.getElementById('abPopup'); if ( popup ) { var uri = popup.getAttribute('data');    if ( !uri ) return false;   if ( editCard.card ) { SetCardValues(editCard.card, document); editCard.card.addCardToDatabase(uri); CallSaveListeners(); } }  return true; 
add: var popup = document.getElementById('abPopup'); if ( popup ) { var uri = popup.getAttribute('value');    if ( !uri ) return false;   if ( editCard.card ) { SetCardValues(editCard.card, document); editCard.card.addCardToDatabase(uri); CallSaveListeners(); } }  return true; 
context: function NewCardOKButton(){	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		// -----				if ( editCard.card )		{			SetCardValues(editCard.card, document);			editCard.card.addCardToDatabase(uri);  			CallSaveListeners();		}	}			return true;	// close the window}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/abCardOverlay.js/buggy/mailnews/addrbook/resources/content/abCardOverlay.js