From 2a2c34fb56c803086a6edc0db1a4c0b3c8cac6a6 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Wed, 8 Jul 2026 21:45:53 +0200 Subject: [PATCH] Fix invisible Add Custom engine dialog and a TDZ error on Engines tab (v1.14.5) Two unclosed
tags in the TTS settings markup left the add-engine dialog nested inside the TTS panel's DOM subtree, so it rendered at zero size whenever another Engines sub-tab (e.g. Speech Recognition) was active. Also fixed a `let` declared after its first use, which threw a ReferenceError on every Engines-tab page load. Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 8 ++++++++ VERSION | 2 +- static/index.html | 6 +++--- static/js/engines.js | 2 +- static/sections/s-llms.html | 6 ++++-- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2135ab0..a704366 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ Follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · versioned wi --- +## [1.14.5] — 2026-07-08 + +### Fixed +- **"Add Custom" engine dialog was invisible/unclickable from the Speech Recognition and Language Models tabs** — two unclosed `
` tags in the TTS settings markup left the dialog (and everything after it) nested inside the TTS panel's DOM subtree. Since that panel is `display:none` whenever another Engines tab is active, the dialog opened with zero size and no way to interact with it. Closed the missing tags so the dialog renders as a top-level element. +- **Uncaught `ReferenceError: Cannot access '_localContainersLoadSeq' before initialization`** thrown on every page load when the Engines tab was active — a `let` declaration for the container-load sequence counter was placed after the code that first used it. Moved the declaration above its first use. + +--- + ## [1.14.4] — 2026-07-08 ### Fixed diff --git a/VERSION b/VERSION index 4e00d0a..24a57f2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.14.4 +1.14.5 diff --git a/static/index.html b/static/index.html index 35ae873..b2d3df5 100644 --- a/static/index.html +++ b/static/index.html @@ -10,7 +10,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -365,7 +365,7 @@ window.toggleNavTree = function(treeId, chevronId) { - + diff --git a/static/js/engines.js b/static/js/engines.js index aa80f3d..5150a30 100644 --- a/static/js/engines.js +++ b/static/js/engines.js @@ -188,6 +188,7 @@ if (document.getElementById('s-studio')?.classList.contains('is-active')) initEl if (typeof renderIntegrationSnippets === 'function') renderIntegrationSnippets(); // ── Engines section: load containers when that section is visible ────────── +let _localContainersLoadSeq = 0; if (document.getElementById('s-llms')?.classList.contains('is-active')) { loadLocalContainers(); } @@ -307,7 +308,6 @@ function editCustomEngineCard(card) { // ── Local Docker container management ───────────────────────────────────── -let _localContainersLoadSeq = 0; let _lastLocalContainers = null; function cardType(card) { diff --git a/static/sections/s-llms.html b/static/sections/s-llms.html index 9d17259..4b0c565 100644 --- a/static/sections/s-llms.html +++ b/static/sections/s-llms.html @@ -544,7 +544,8 @@ Controls payload shape for the normal TTS API URL.
- + +

Default Playback Voice

@@ -556,9 +557,10 @@ +
- +