From 1d564970dcb3989cef84ca6c562f8263336b85b9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 26 Jun 2017 18:49:31 -0400 Subject: [PATCH] =?UTF-8?q?Add=20"Install=20Browser=20Extensions=E2=80=A6"?= =?UTF-8?q?=20menu=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chrome/content/zotero/standalone/standalone.js | 4 ++++ chrome/content/zotero/standalone/standalone.xul | 5 +++++ chrome/locale/en-US/zotero/standalone.dtd | 4 ++++ resource/config.js | 1 + 4 files changed, 14 insertions(+) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index 57833dd27..dd1190784 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -165,6 +165,10 @@ const ZoteroStandalone = new function() { ZoteroPane.loadURI(ZOTERO_CONFIG.FEEDBACK_URL); break; + case "extensions": + ZoteroPane.loadURI(ZOTERO_CONFIG.EXTENSIONS_URL); + break; + default: ZoteroPane.loadURI(ZOTERO_CONFIG.SUPPORT_URL); } diff --git a/chrome/content/zotero/standalone/standalone.xul b/chrome/content/zotero/standalone/standalone.xul index 42c8752ea..4dcd22b90 100644 --- a/chrome/content/zotero/standalone/standalone.xul +++ b/chrome/content/zotero/standalone/standalone.xul @@ -199,6 +199,11 @@ label="&helpFeedbackPage.label;" oncommand="ZoteroStandalone.openHelp('feedback');"/> + + + + + + diff --git a/resource/config.js b/resource/config.js index ff8b446cd..0457ce11e 100644 --- a/resource/config.js +++ b/resource/config.js @@ -21,6 +21,7 @@ var ZOTERO_CONFIG = { SUPPORT_URL: "https://www.zotero.org/support/", TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help", FEEDBACK_URL: "https://forums.zotero.org/", + EXTENSIONS_URL: "https://www.zotero.org/extensions" }; EXPORTED_SYMBOLS = ["ZOTERO_CONFIG"];