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:
Fernando Jiménez 2013-10-18 12:58:24 +02:00
parent 4392e2fd4a
commit 3483e24889
2 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,8 @@ DOMRequestIpcHelper.prototype = {
* queryInterface method and adds at least one weak listener to the Message
* 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:

View File

@ -284,6 +284,9 @@ SystemMessageManager.prototype = {
if (aTopic === kSystemMessageInternalReady) {
this._registerManifest();
}
// Call the DOMRequestIpcHelper.observe method.
this.__proto__.__proto__.observe.call(this, aSubject, aTopic, aData);
},
_registerManifest: function sysMessMgr_registerManifest() {