www

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

commit 8af73f9983a13aa8e64620b037a0ff159934df55
parent 0a2330b79f4794fa24e84bb7ff801459b0c91b6f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 24 Dec 2016 18:01:56 -0500

Add a notifier event for sync start

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

diff --git a/chrome/content/zotero/xpcom/sync/syncRunner.js b/chrome/content/zotero/xpcom/sync/syncRunner.js @@ -110,6 +110,8 @@ Zotero.Sync.Runner_Module = function (options = {}) { } _syncInProgress = true; + yield Zotero.Notifier.trigger('start', 'sync', []); + // Purge deleted objects so they don't cause sync errors (e.g., long tags) yield Zotero.purgeDataObjects(true);