www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit df1c92b9a3ae124f714f351f4b77bbf9228f617c
parent 8bbf0bf4958c52ea09c5efe6695e4adeb14827be
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 23 Jun 2016 14:28:13 -0400

Fix "librariesToSync is undefined" when full-text syncing is disabled

Diffstat:
Mchrome/content/zotero/xpcom/sync/syncRunner.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/sync/syncRunner.js b/chrome/content/zotero/xpcom/sync/syncRunner.js @@ -580,7 +580,7 @@ Zotero.Sync.Runner_Module = function (options = {}) { * @return {Integer[]} - Array of libraries that need data syncing again */ var _doFullTextSync = Zotero.Promise.coroutine(function* (libraries, options) { - if (!Zotero.Prefs.get("sync.fulltext.enabled")) return; + if (!Zotero.Prefs.get("sync.fulltext.enabled")) return []; Zotero.debug("Starting full-text syncing"); this.setSyncStatus(Zotero.getString('sync.status.syncingFullText'));