diff --git a/b2g/chrome/content/shell.js b/b2g/chrome/content/shell.js index b0f5768efe4..b81b1ff2e5b 100644 --- a/b2g/chrome/content/shell.js +++ b/b2g/chrome/content/shell.js @@ -722,6 +722,7 @@ var WebappsHelper = { return; let installer = this._installers[detail.id]; + delete this._installers[detail.id]; switch (detail.type) { case "webapps-install-granted": DOMApplicationRegistry.confirmInstall(installer); diff --git a/dom/apps/src/Webapps.js b/dom/apps/src/Webapps.js index 0e0b9f9c090..afea4971f99 100644 --- a/dom/apps/src/Webapps.js +++ b/dom/apps/src/Webapps.js @@ -134,9 +134,9 @@ WebappsRegistry.prototype = { etag: etag, receipts: receipts, categories: categories }, - from: installURL, - oid: this._id, - requestID: requestID }); + from: installURL, + oid: this._id, + requestID: requestID }); } } else { Services.DOMRequest.fireError(request, "MANIFEST_URL_ERROR");