Show Zotero Pane overlay while saving items
This commit is contained in:
parent
23e4d90d44
commit
d0ff59cdd9
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,8 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
this._timer = Components.classes["@mozilla.org/timer;1"].
|
||||
createInstance(Components.interfaces.nsITimer);
|
||||
this._timer.initWithCallback(this, 0, Components.interfaces.nsITimer.TYPE_ONE_SHOT);
|
||||
|
||||
Zotero.showZoteroPaneProgressMeter(Zotero.getString("ingester.scraping"), false);
|
||||
}
|
||||
|
||||
// Get typeID, defaulting to "webpage"
|
||||
|
@ -522,6 +524,7 @@ Zotero.Translate.ItemSaver.prototype = {
|
|||
}
|
||||
|
||||
Zotero.debug("Translate: Closing transaction");
|
||||
Zotero.hideZoteroPaneOverlay();
|
||||
Zotero.DB.commitTransaction();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue