mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984015 - GUIDHelper.getItemId should deliver itself as |this| to his internal executeAsync callback. r=mak
This commit is contained in:
parent
666e28991c
commit
728528ac9f
@ -1698,7 +1698,7 @@ let GUIDHelper = {
|
|||||||
if (row)
|
if (row)
|
||||||
itemId = row.getResultByIndex(0);
|
itemId = row.getResultByIndex(0);
|
||||||
},
|
},
|
||||||
handleCompletion: function (aReason) {
|
handleCompletion: aReason => {
|
||||||
if (aReason == REASON_FINISHED && itemId != -1) {
|
if (aReason == REASON_FINISHED && itemId != -1) {
|
||||||
deferred.resolve(itemId);
|
deferred.resolve(itemId);
|
||||||
|
|
||||||
@ -1732,7 +1732,7 @@ let GUIDHelper = {
|
|||||||
guid = row.getResultByIndex(1);
|
guid = row.getResultByIndex(1);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleCompletion: function (aReason) {
|
handleCompletion: aReason => {
|
||||||
if (aReason == REASON_FINISHED && guid) {
|
if (aReason == REASON_FINISHED && guid) {
|
||||||
deferred.resolve(guid);
|
deferred.resolve(guid);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user