Bug 801546 - [gallery] [camera] Not able to add a photo to a contact from contact details [r=cjones]

This commit is contained in:
Fabrice Desré 2012-10-19 13:53:51 -07:00
parent 50c8478eca
commit ca5d080497

View File

@ -281,13 +281,15 @@ let Activities = {
let caller;
let obsData;
if (aMessage.name == "Activity:FireSuccess" ||
aMessage.name == "Activity:FireError") {
if (aMessage.name == "Activity:PostResult" ||
aMessage.name == "Activity:PostError") {
caller = this.callers[msg.id];
if (caller) {
obsData = JSON.stringify({ manifestURL: caller.manifestURL,
pageURL: caller.pageURL,
success: aMessage.name == "Activity:FireSuccess" });
success: aMessage.name == "Activity:PostResult" });
} else {
debug("!! caller is null for msg.id=" + msg.id);
}
}