diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index a7d7a0287f..e02fcfe1a9 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -482,8 +482,6 @@ var Zotero_Browser = new function() { collection.addItem(dbItem.id); } - Zotero.repaint(window); - if(Zotero_Browser.isScraping) { // initialize close timer between item saves in case translator doesn't call done Zotero_Browser.progress.startCloseTimer(10000); // is this long enough? diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index e211a75d51..b6d35efe37 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -295,9 +295,11 @@ var Zotero_File_Interface = new function() { Zotero_File_Interface.Progress.show( Zotero.getString("fileInterface.itemsImported") ); - Zotero.repaint(window); - Zotero.DB.beginTransaction(); - translation.translate(); + + window.setTimeout(function() { + Zotero.DB.beginTransaction(); + translation.translate(); + }, 0); } else { // TODO: localize and remove fileInterface.fileFormatUnsupported string var unsupportedFormat = "The selected file is not in a supported format.";