Show Zotero Pane overlay while saving items

This commit is contained in:
Simon Kornblith 2011-04-04 03:37:13 +00:00
parent 23e4d90d44
commit d0ff59cdd9

View file

@ -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();
}
}