mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Bug 984015 - GUIDHelper.getItemId should deliver itself as |this| to his internal executeAsync callback. r=mak
This commit is contained in:
parent
f287737ac5
commit
99390e3f14
@ -1698,7 +1698,7 @@ let GUIDHelper = {
|
||||
if (row)
|
||||
itemId = row.getResultByIndex(0);
|
||||
},
|
||||
handleCompletion: function (aReason) {
|
||||
handleCompletion: aReason => {
|
||||
if (aReason == REASON_FINISHED && itemId != -1) {
|
||||
deferred.resolve(itemId);
|
||||
|
||||
@ -1732,7 +1732,7 @@ let GUIDHelper = {
|
||||
guid = row.getResultByIndex(1);
|
||||
}
|
||||
},
|
||||
handleCompletion: function (aReason) {
|
||||
handleCompletion: aReason => {
|
||||
if (aReason == REASON_FINISHED && guid) {
|
||||
deferred.resolve(guid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user