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:
Edward Lee 2010-05-03 14:39:32 -07:00
parent eb6d0834d7
commit 2a2cbfbad2

View File

@ -281,6 +281,7 @@ Engine.prototype = {
this._tracker.ignoreAll = true;
this._store.wipe();
this._tracker.ignoreAll = false;
this._tracker.clearChangedIDs();
},
wipeClient: function Engine_wipeClient() {