Don't open new copies of runJS/scaffold/csledit

Possible we'll get complaints about no longer being able to open
multiple copies of at least runJS and csledit, and we can reconsider if
so, but reopening the existing window is certainly the intended
behavior.
This commit is contained in:
Dan Stillman 2025-01-31 00:57:13 -05:00
parent 707c71506f
commit 24c7f146b3
3 changed files with 3 additions and 1 deletions

View file

@ -43,6 +43,7 @@
title="Scaffold"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
windowtype="zotero:scaffold"
style="display: flex;"
drawintitlebar-platforms="win, linux">

View file

@ -1,4 +1,4 @@
<html id="run-js">
<html id="run-js" windowtype="zotero:run-js">
<head>
<title data-l10n-id="runJS-title"></title>
<link href="chrome://zotero-platform/content/zotero.css" rel="stylesheet"/>

View file

@ -35,6 +35,7 @@
id="csl-edit"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
windowtype="zotero:style-editor"
onload="Zotero_CSL_Editor.init();"
title="&styles.editor;">