Don't trigger autosync on 'refresh' event
This commit is contained in:
parent
4f45e9156f
commit
e3f251f7c7
1 changed files with 4 additions and 1 deletions
|
@ -1039,7 +1039,10 @@ Zotero.Sync.Server = new function () {
|
|||
}
|
||||
|
||||
// {} implements nsITimerCallback
|
||||
_autoSyncTimer.initWithCallback({ notify: function () {
|
||||
_autoSyncTimer.initWithCallback({ notify: function (event, type, ids) {
|
||||
if (event == 'refresh') {
|
||||
return;
|
||||
}
|
||||
if (_syncInProgress) {
|
||||
Zotero.debug('Sync already in progress -- skipping auto-sync');
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue