Don't trigger autosync on 'refresh' event

This commit is contained in:
Dan Stillman 2008-07-08 19:12:30 +00:00
parent 4f45e9156f
commit e3f251f7c7

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;