Close import progress window on error

Fixes https://github.com/retorquere/zotero-better-bibtex/issues/719
This commit is contained in:
Dan Stillman 2017-09-19 02:35:04 -04:00
parent fbca2e5c52
commit 8efbfb7c74

View File

@ -365,6 +365,7 @@ var Zotero_File_Interface = new function() {
collections: importCollection ? [importCollection.id] : null
});
} catch(e) {
progressWin.close();
Zotero.logError(e);
Zotero.alert(
null,