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:
Dan Stillman 2014-06-20 03:45:14 -04:00
parent 09e53d85d5
commit 4812ab6f93

View file

@ -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);
};