mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 557503 - bookmark restore from backup and server-wins interact badly [r=mconnor]
Don't resetLastSync as that will make local changes look old and instead mark each as changed now that addChangedID doesn't jsonSave on each call.
This commit is contained in:
parent
c79c303ba8
commit
9dea7f5571
@ -108,9 +108,12 @@ BookmarksEngine.prototype = {
|
||||
}, this);
|
||||
|
||||
Observers.add("bookmarks-restore-success", function() {
|
||||
this._log.debug("Triggering fresh start on successful import");
|
||||
this.resetLastSync();
|
||||
this._log.debug("Tracking all items on successful import");
|
||||
this._tracker.ignoreAll = false;
|
||||
|
||||
// Mark all the items as changed so they get uploaded
|
||||
for (let id in this._store.getAllIDs())
|
||||
this._tracker.addChangedID(id);
|
||||
}, this);
|
||||
|
||||
Observers.add("bookmarks-restore-failed", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user