зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
18086a590a
Коммит
89577178e4
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче