Skip to content

Commit

Permalink
Update populateFromAjaxCall.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Sep 4, 2019
1 parent daeeb29 commit 864bad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/ajax-populate/populateFromAjaxCall.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@
// By returning the a promise, framework will keep
// waiting for this promise to complete before resuming other
// db-operations.
console.log("Adding objects", data.someInitArray);
return db.someTable.bulkAdd(data.someInitArray);
console.log("Adding objects", data.someInitArrayOfObjects);
return db.someTable.bulkAdd(data.someInitArrayOfObjects);
}).then(function () {
console.log ("Done populating.");
});
Expand Down

0 comments on commit 864bad1

Please sign in to comment.