set guid when creating history entries

This commit is contained in:
Dan Mills 2009-01-07 17:46:31 -08:00
parent 3d56e48c4c
commit 81cdb36c28

View File

@ -306,6 +306,10 @@ HistoryStore.prototype = {
(visit.type == 5 || visit.type == 6), 0); (visit.type == 5 || visit.type == 6), 0);
} }
this._hsvc.setPageTitle(uri, record.cleartext.title); 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) { remove: function HistStore_remove(record) {