rem: cardproperty.AddCardToDatabase(uri); 
add: cardproperty.addCardToDatabase(uri); 
context: function NewCardOKButton(){	var popup = document.getElementById('abPopup');	if ( popup )	{		var uri = popup.value;				// 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		// -----				var cardproperty = Components.classes["component://netscape/addressbook/cardproperty"].createInstance();		cardproperty = cardproperty.QueryInterface(Components.interfaces.nsIAbCard);		if ( cardproperty )		{			SetCardValues(cardproperty, document);					cardproperty.AddCardToDatabase(uri);		}	}			return true;	// close the window}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/73198c7db78f61a13e61e930ddd7d74eaefaad99/abCardOverlay.js/clean/mailnews/addrbook/resources/content/abCardOverlay.js