Add a notifier event for sync start
This commit is contained in:
parent
0a2330b79f
commit
8af73f9983
|
@ -110,6 +110,8 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
||||||
}
|
}
|
||||||
_syncInProgress = true;
|
_syncInProgress = true;
|
||||||
|
|
||||||
|
yield Zotero.Notifier.trigger('start', 'sync', []);
|
||||||
|
|
||||||
// Purge deleted objects so they don't cause sync errors (e.g., long tags)
|
// Purge deleted objects so they don't cause sync errors (e.g., long tags)
|
||||||
yield Zotero.purgeDataObjects(true);
|
yield Zotero.purgeDataObjects(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user