commit 74fe2a2bdc470f0b625f356dcc8161bd676592a2 parent 3de40256bff662f8e9ffb1e963263f714c449450 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 23 Jun 2016 02:57:57 -0400 Pass empty array to sync/finish event if no synced libraries Diffstat:
| M | chrome/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 @@ -223,7 +223,7 @@ Zotero.Sync.Runner_Module = function (options = {}) { } Zotero.debug("Done syncing"); - Zotero.Notifier.trigger('finish', 'sync', librariesToSync); + Zotero.Notifier.trigger('finish', 'sync', librariesToSync || []); } });