From 81cdb36c28df1ecce72e94bbc6b868acdf643de2 Mon Sep 17 00:00:00 2001 From: Dan Mills Date: Wed, 7 Jan 2009 17:46:31 -0800 Subject: [PATCH] set guid when creating history entries --- services/sync/modules/engines/history.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/sync/modules/engines/history.js b/services/sync/modules/engines/history.js index 6375e28a2422..9a51954a751b 100644 --- a/services/sync/modules/engines/history.js +++ b/services/sync/modules/engines/history.js @@ -306,6 +306,10 @@ HistoryStore.prototype = { (visit.type == 5 || visit.type == 6), 0); } this._hsvc.setPageTitle(uri, record.cleartext.title); + + let guid = this._getGUID(record.cleartext.uri); + if (guid != record.id) + this.changeItemID(guid, record.id); }, remove: function HistStore_remove(record) {