commit 8812fd4401d77b138b2544420cde603f28bcda88
parent 6539fc44e3cecb7484c3a0567ddbcb6f0b46bcc6
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 2 Mar 2017 15:29:59 -0500
Add debugging for display error reported in forums
https://forums.zotero.org/discussion/64662/5-0-beta-no-items-displayed-in-center-pane
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -1571,6 +1571,9 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
}
var label = win.ZoteroPane.document.getElementById('zotero-pane-progress-label');
+ if (!label) {
+ Components.utils.reportError("label not found in " + win.document.location.href);
+ }
if (msg) {
label.hidden = false;
label.value = msg;