From 90ab4191527cd21152e56a482b97ecb4da0bc2ca Mon Sep 17 00:00:00 2001 From: "bugzilla%arlen.demon.co.uk" Date: Sat, 16 Dec 2006 23:20:30 +0000 Subject: [PATCH] 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 --- mozilla/mailnews/base/resources/content/mailWindowOverlay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/mailWindowOverlay.js b/mozilla/mailnews/base/resources/content/mailWindowOverlay.js index 7fecbeea141..74d98c158d5 100644 --- a/mozilla/mailnews/base/resources/content/mailWindowOverlay.js +++ b/mozilla/mailnews/base/resources/content/mailWindowOverlay.js @@ -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