commit d0ff59cdd9aab9f2ccce55b03f22fc746fe88749
parent 23e4d90d44409ee0cad08103fecd5162dfe20b55
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 4 Apr 2011 03:37:13 +0000
Show Zotero Pane overlay while saving items
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translation/item_local.js b/chrome/content/zotero/xpcom/translation/item_local.js
@@ -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();
}
}