From 8efbfb7c74141dcfd7f22347ea580f023b6232c1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 19 Sep 2017 02:35:04 -0400 Subject: [PATCH] Close import progress window on error Fixes https://github.com/retorquere/zotero-better-bibtex/issues/719 --- chrome/content/zotero/fileInterface.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index 009d0f313..b428e0e5e 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -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,