Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #24153 from qdot/1069064-bm-migrate-function-fix
Browse files Browse the repository at this point in the history
Bug 1069064 - Fix name of function called to continue migrating bookmark...
  • Loading branch information
qdot committed Sep 18, 2014
2 parents cd8a8fe + b85fd76 commit 86cc547
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/system/js/migrators/browser_migrator.js
Expand Up @@ -167,8 +167,6 @@ BrowserMigrator.prototype = {

runMigration: function() {

this.iteratePendingBookmarks = this._iteratePendingBookmarks.bind(this);

BrowserDB.init(() => {
BrowserDB.readVisits().then(visits => {
this._saveVisits(visits).then(() => {
Expand Down Expand Up @@ -219,6 +217,8 @@ BrowserMigrator.prototype = {
icon: nextBookmark.iconUri
};

BookmarksDatabase.add(descriptor).then(this.iteratePending);
BookmarksDatabase.add(descriptor).then(() => {
this._iteratePendingBookmarks();
});
}
};

0 comments on commit 86cc547

Please sign in to comment.