зеркало из https://github.com/mozilla/pjs.git
set record ID in history store when creating a record
This commit is contained in:
Родитель
ec75cd2b3d
Коммит
4a1427278e
|
@ -420,6 +420,7 @@ HistoryStore.prototype = {
|
||||||
createRecord: function HistStore_createRecord(guid) {
|
createRecord: function HistStore_createRecord(guid) {
|
||||||
let foo = this._findURLByGUID(guid);
|
let foo = this._findURLByGUID(guid);
|
||||||
let record = new HistoryRec();
|
let record = new HistoryRec();
|
||||||
|
record.id = guid;
|
||||||
if (foo) {
|
if (foo) {
|
||||||
record.histUri = foo.url;
|
record.histUri = foo.url;
|
||||||
record.title = foo.title;
|
record.title = foo.title;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче