Bug 924971 - [Contacts] Trying to add a contact as a recipient opens contact details instead of returning to Messages app. r=fabrice
This commit is contained in:
@@ -52,7 +52,8 @@ DOMRequestIpcHelper.prototype = {
|
|||||||
* queryInterface method and adds at least one weak listener to the Message
|
* queryInterface method and adds at least one weak listener to the Message
|
||||||
* Manager MUST implement Ci.nsISupportsWeakReference.
|
* Manager MUST implement Ci.nsISupportsWeakReference.
|
||||||
*/
|
*/
|
||||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference]),
|
QueryInterface: XPCOMUtils.generateQI([Ci.nsISupportsWeakReference,
|
||||||
|
Ci.nsIObserver]),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 'aMessages' is expected to be an array of either:
|
* 'aMessages' is expected to be an array of either:
|
||||||
|
|||||||
@@ -284,6 +284,9 @@ SystemMessageManager.prototype = {
|
|||||||
if (aTopic === kSystemMessageInternalReady) {
|
if (aTopic === kSystemMessageInternalReady) {
|
||||||
this._registerManifest();
|
this._registerManifest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Call the DOMRequestIpcHelper.observe method.
|
||||||
|
this.__proto__.__proto__.observe.call(this, aSubject, aTopic, aData);
|
||||||
},
|
},
|
||||||
|
|
||||||
_registerManifest: function sysMessMgr_registerManifest() {
|
_registerManifest: function sysMessMgr_registerManifest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user