From 8812fd4401d77b138b2544420cde603f28bcda88 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 2 Mar 2017 15:29:59 -0500 Subject: [PATCH] Add debugging for display error reported in forums https://forums.zotero.org/discussion/64662/5-0-beta-no-items-displayed-in-center-pane --- chrome/content/zotero/xpcom/zotero.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index eff33c522..86d63f82f 100644 --- 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;