loadAllData() no longer necessary before fromJSON()
Post-deasyncification
This commit is contained in:
parent
f8716fbe88
commit
4c46ebcf96
|
@ -935,7 +935,6 @@ Zotero.Sync.Data.Engine.prototype._uploadObjects = Zotero.Promise.coroutine(func
|
||||||
|
|
||||||
if (state == 'successful') {
|
if (state == 'successful') {
|
||||||
// Update local object with saved data if necessary
|
// Update local object with saved data if necessary
|
||||||
yield obj.loadAllData();
|
|
||||||
obj.fromJSON(current.data);
|
obj.fromJSON(current.data);
|
||||||
toSave.push(obj);
|
toSave.push(obj);
|
||||||
toCache.push(current);
|
toCache.push(current);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user