Bug 360777 Change nsIAbCard::EditCardToDatabase to nsIAbDirectory::ModifyCard - fix for SM (also includes port of TB Bug 363993)

p=me r=standard8 sr=mscott
This commit is contained in:
bugzilla%arlen.demon.co.uk 2006-12-16 23:20:30 +00:00
Родитель 18086a590a
Коммит 89577178e4
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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