From 3acef799f5af13f1a8bcf8f7d375e5f7ea182595 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Fri, 2 Feb 2024 17:02:08 +0800 Subject: [PATCH] Fix custom elements import (#3639) Fixes #3600 --- chrome/content/zotero/integration/addCitationDialog.xhtml | 7 +++---- .../zotero/integration/editBibliographyDialog.xhtml | 7 +++---- chrome/content/zotero/selectItemsDialog.xhtml | 3 +-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/chrome/content/zotero/integration/addCitationDialog.xhtml b/chrome/content/zotero/integration/addCitationDialog.xhtml index 6ce99ac7c3..e8c440938a 100644 --- a/chrome/content/zotero/integration/addCitationDialog.xhtml +++ b/chrome/content/zotero/integration/addCitationDialog.xhtml @@ -54,12 +54,11 @@ Services.scriptloader.loadSubScript("chrome://zotero/content/include.js", this); + // Custom elements + Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this); + Services.scriptloader.loadSubScript("chrome://zotero/content/selectItemsDialog.js", this); Services.scriptloader.loadSubScript("chrome://zotero/content/integration/addCitationDialog.js", this); - - // Custom elements - Services.scriptloader.loadSubScript("chrome://global/content/customElements.js", this); - Services.scriptloader.loadSubScript("chrome://zotero/content/elements/quickSearchTextbox.js", this); diff --git a/chrome/content/zotero/integration/editBibliographyDialog.xhtml b/chrome/content/zotero/integration/editBibliographyDialog.xhtml index dbbfc6e4b1..6b541d42e5 100644 --- a/chrome/content/zotero/integration/editBibliographyDialog.xhtml +++ b/chrome/content/zotero/integration/editBibliographyDialog.xhtml @@ -52,12 +52,11 @@ Services.scriptloader.loadSubScript("chrome://zotero/content/include.js", this); + // Custom elements + Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this); + Services.scriptloader.loadSubScript("chrome://zotero/content/selectItemsDialog.js", this); Services.scriptloader.loadSubScript("chrome://zotero/content/integration/editBibliographyDialog.js", this); - - // Custom elements - Services.scriptloader.loadSubScript("chrome://global/content/customElements.js", this); - Services.scriptloader.loadSubScript("chrome://zotero/content/elements/quickSearchTextbox.js", this); diff --git a/chrome/content/zotero/selectItemsDialog.xhtml b/chrome/content/zotero/selectItemsDialog.xhtml index ffd22d668c..b050779cb4 100644 --- a/chrome/content/zotero/selectItemsDialog.xhtml +++ b/chrome/content/zotero/selectItemsDialog.xhtml @@ -53,10 +53,9 @@