mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Remove a couple of repaints
This commit is contained in:
parent
083a3600db
commit
943d2cd5de
2 changed files with 5 additions and 5 deletions
|
|
@ -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?
|
||||
|
|
|
|||
|
|
@ -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.";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue