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
|
@ -2676,6 +2676,8 @@ Zotero.Sync.Server.Data = new function() {
|
||||||
|
|
||||||
|
|
||||||
this.processUpdatedXML = function (updatedNode, lastLocalSyncDate, syncSession, defaultLibraryID, callback) {
|
this.processUpdatedXML = function (updatedNode, lastLocalSyncDate, syncSession, defaultLibraryID, callback) {
|
||||||
|
yield true;
|
||||||
|
|
||||||
updatedNode.xpath = function (path) {
|
updatedNode.xpath = function (path) {
|
||||||
return Zotero.Utilities.xpath(this, path);
|
return Zotero.Utilities.xpath(this, path);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user