From 070ebc3eddb18cb39af8070763b15af40a1fc16a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 May 2026 14:12:36 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20validate.py=20epilog=20--type-json,=20in?= =?UTF-8?q?dex.html=20wasViewModalOpen=20=C3=BCberschreibt=20nicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - validate.py: --json durch --type-json im epilog aktualisiert - index.html: closeModal() setzt wasViewModalOpen nur wenn noch nicht gesetzt --- scripts/validate.py | 2 +- web/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/validate.py b/scripts/validate.py index 41e009c..ea11565 100755 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -229,7 +229,7 @@ def main(): Beispiele: python validate.py templates/system/code_reviewer.json python validate.py --all - python validate.py --json templates/ + python validate.py --type-json """, ) parser.add_argument("path", nargs="?", help="Pfad zum Template oder Verzeichnis") diff --git a/web/index.html b/web/index.html index 63c5043..f2b15e4 100644 --- a/web/index.html +++ b/web/index.html @@ -873,7 +873,7 @@ $ python web/serve.py } function closeModal() { - wasViewModalOpen = true; + wasViewModalOpen = wasViewModalOpen || true; document.getElementById('modal').classList.remove('active'); }