mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 801546 - [gallery] [camera] Not able to add a photo to a contact from contact details [r=cjones]
This commit is contained in:
parent
50c8478eca
commit
ca5d080497
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user