Bug 360777 Change nsIAbCard::EditCardToDatabase to nsIAbDirectory::ModifyCard - fix for SM (also includes port of TB Bug 363993)
p=me r=standard8 sr=mscott git-svn-id: svn://10.0.0.236/trunk@217077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2299,11 +2299,11 @@ function allowRemoteContentForSender()
|
||||
}
|
||||
|
||||
var allowRemoteContent = false;
|
||||
if (cardForEmailAddress)
|
||||
if (cardForEmailAddress && addrbook instanceof Components.interfaces.nsIAbDirectory)
|
||||
{
|
||||
// set the property for remote content
|
||||
cardForEmailAddress.allowRemoteContent = true;
|
||||
cardForEmailAddress.editCardToDatabase("");
|
||||
addrbook.modifyCard(cardForEmailAddress);
|
||||
allowRemoteContent = true;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user