Fixes (cosmetic) "Q.async(...)(...) is undefined" sync error
Yield immediately so that a generator is always passed to Q.async()
This commit is contained in:
parent
09e53d85d5
commit
4812ab6f93
1 changed files with 2 additions and 0 deletions
|
@ -2676,6 +2676,8 @@ Zotero.Sync.Server.Data = new function() {
|
|||
|
||||
|
||||
this.processUpdatedXML = function (updatedNode, lastLocalSyncDate, syncSession, defaultLibraryID, callback) {
|
||||
yield true;
|
||||
|
||||
updatedNode.xpath = function (path) {
|
||||
return Zotero.Utilities.xpath(this, path);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue