From d0ff59cdd9aab9f2ccce55b03f22fc746fe88749 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 4 Apr 2011 03:37:13 +0000 Subject: [PATCH] Show Zotero Pane overlay while saving items --- chrome/content/zotero/xpcom/translation/item_local.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/translation/item_local.js b/chrome/content/zotero/xpcom/translation/item_local.js index 4b2df55be..0b2476d07 100644 --- 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(); } }