Clear last sync error when starting sync
This commit is contained in:
parent
62290e0bcd
commit
7f76b35ab4
|
@ -427,7 +427,6 @@ Zotero.Sync.Runner = new function () {
|
|||
this.EventListener.init();
|
||||
}
|
||||
|
||||
|
||||
this.sync = function () {
|
||||
if (_running) {
|
||||
throw ("Sync already running in Zotero.Sync.Runner.sync()");
|
||||
|
@ -438,6 +437,7 @@ Zotero.Sync.Runner = new function () {
|
|||
Zotero.Sync.Storage.sync
|
||||
];
|
||||
_running = true;
|
||||
Zotero.Sync.Runner.lastSyncError = '';
|
||||
this.clearSyncTimeout();
|
||||
this.setSyncIcon('animate');
|
||||
this.next();
|
||||
|
|
Loading…
Reference in New Issue
Block a user