From d1d62184be73c3616f38920007a40502c443a729 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 12 Jul 2017 01:17:41 -0400 Subject: [PATCH] Fix potential error loading support links From ZOTERO_CONFIG not being defined. I can't reproduce this, but I've seen it in the logs. --- chrome/content/zotero/standalone/standalone.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index d884b6d936..f98c73232e 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -156,6 +156,8 @@ const ZoteroStandalone = new function() { * Handles help menu requests */ this.openHelp = function(type) { + Components.utils.import("resource://zotero/config.js"); + switch (type) { case "troubleshooting": ZoteroPane.loadURI(ZOTERO_CONFIG.TROUBLESHOOTING_URL);