mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 959420 - Followup to fix the last saveApps call introduced in bug 757226. r=fabrice
This commit is contained in:
parent
582442ebbd
commit
9d5e2d7cfb
@ -3631,7 +3631,7 @@ onInstallSuccessAck: function onInstallSuccessAck(aManifestURL,
|
||||
|
||||
app.receipts.push(receipt);
|
||||
|
||||
this._saveApps(function() {
|
||||
this._saveApps().then(() => {
|
||||
aData.receipts = app.receipts;
|
||||
aMm.sendAsyncMessage("Webapps:AddReceipt:Return:OK", aData);
|
||||
});
|
||||
@ -3666,7 +3666,7 @@ onInstallSuccessAck: function onInstallSuccessAck(aManifestURL,
|
||||
|
||||
app.receipts.splice(index, 1);
|
||||
|
||||
this._saveApps(function() {
|
||||
this._saveApps().then(() => {
|
||||
aData.receipts = app.receipts;
|
||||
aMm.sendAsyncMessage("Webapps:RemoveReceipt:Return:OK", aData);
|
||||
});
|
||||
@ -3709,7 +3709,7 @@ onInstallSuccessAck: function onInstallSuccessAck(aManifestURL,
|
||||
|
||||
app.receipts[oldIndex] = newReceipt;
|
||||
|
||||
this._saveApps(function() {
|
||||
this._saveApps().then(() => {
|
||||
aData.receipts = app.receipts;
|
||||
aMm.sendAsyncMessage("Webapps:ReplaceReceipt:Return:OK", aData);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user