From 5cbb8de96bac11721e52660d45271de12942f848 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 12 Jun 2015 17:06:07 -0400 Subject: [PATCH] Re-enable import progress indicator --- chrome/content/zotero/fileInterface.js | 4 ++-- test/tests/fileInterfaceTest.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index d4a4f25b9..fa26469ec 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -631,10 +631,10 @@ Zotero_File_Interface.Progress = new function() { this.close = close; function show(headline) { - //Zotero.showZoteroPaneProgressMeter(headline); + Zotero.showZoteroPaneProgressMeter(headline); } function close() { - //Zotero.hideZoteroPaneOverlays(); + Zotero.hideZoteroPaneOverlays(); } } diff --git a/test/tests/fileInterfaceTest.js b/test/tests/fileInterfaceTest.js index 18783d0bf..54c793f48 100644 --- a/test/tests/fileInterfaceTest.js +++ b/test/tests/fileInterfaceTest.js @@ -1,7 +1,7 @@ describe("Zotero_File_Interface", function() { let win; before(function* () { - win = yield loadBrowserWindow(); + win = yield loadZoteroPane(); yield OS.File.copy(OS.Path.join(getTestDataDirectory().path, "Test Import Translator.js"), OS.Path.join(Zotero.getTranslatorsDirectory().path, "Test Import Translator.js")); yield Zotero.Translators.reinit();