Add a notifier event for sync start
This commit is contained in:
parent
0a2330b79f
commit
8af73f9983
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue