loadAllData() no longer necessary before fromJSON()

Post-deasyncification
This commit is contained in:
Dan Stillman 2016-05-21 15:52:10 -04:00
parent f8716fbe88
commit 4c46ebcf96

View file

@ -935,7 +935,6 @@ Zotero.Sync.Data.Engine.prototype._uploadObjects = Zotero.Promise.coroutine(func
if (state == 'successful') {
// Update local object with saved data if necessary
yield obj.loadAllData();
obj.fromJSON(current.data);
toSave.push(obj);
toCache.push(current);