зеркало из https://github.com/mozilla/pjs.git
Bug 562515 - Reset sync option "Replace all data on this computer with your Weave data" is not handling local deletes correctly [r=mconnor]
Clear out any changed ids when wiping the client to prevent delete records from getting uploaded for these items.
This commit is contained in:
Родитель
eb6d0834d7
Коммит
2a2cbfbad2
|
@ -281,6 +281,7 @@ Engine.prototype = {
|
|||
this._tracker.ignoreAll = true;
|
||||
this._store.wipe();
|
||||
this._tracker.ignoreAll = false;
|
||||
this._tracker.clearChangedIDs();
|
||||
},
|
||||
|
||||
wipeClient: function Engine_wipeClient() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче