Don't trigger autosync on 'refresh' event

This commit is contained in:
Dan Stillman 2008-07-08 19:12:30 +00:00
parent d0b02cc008
commit f0856bac79

View File

@ -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;