mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix bookmark deletion sync
This commit is contained in:
parent
e5c9923591
commit
fb99c9f85e
@ -918,10 +918,10 @@ BookmarksStore.prototype = {
|
||||
|
||||
this._log.trace("RECORD: " + record.id + " -> " + uneval(record.cleartext));
|
||||
|
||||
if (!this._lookup[record.id])
|
||||
this._createCommand({GUID: record.id, data: record.cleartext});
|
||||
else if (record.cleartext == "")
|
||||
if (record.cleartext == "")
|
||||
this._removeCommand({GUID: record.id});
|
||||
else if (!this._lookup[record.id])
|
||||
this._createCommand({GUID: record.id, data: record.cleartext});
|
||||
else {
|
||||
let data = Utils.deepCopy(record.cleartext);
|
||||
delete data.GUID;
|
||||
|
Loading…
Reference in New Issue
Block a user