From 34eb28d622f36f57ff2e1ed7999feebbfe2ae8b2 Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Mon, 16 Mar 2026 23:09:47 +0100 Subject: [PATCH] fix: Tote src-type-display Referenzen entfernt (Element existiert nicht im HTML) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit discoverSource() und editSource() referenzierten ein nicht existierendes DOM-Element src-type-display, was beim Hinzufügen/Bearbeiten von Quellen den Fehler "Cannot set properties of null (setting value)" auslöste. src-type-select wird bereits korrekt mit Null-Check gesetzt. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/static/js/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/static/js/app.js b/src/static/js/app.js index ff51781..cf8e345 100644 --- a/src/static/js/app.js +++ b/src/static/js/app.js @@ -2731,7 +2731,6 @@ const App = { const typeLabel = this._discoveredData.source_type === 'rss_feed' ? 'RSS-Feed' : this._discoveredData.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle'; const typeSelect = document.getElementById('src-type-select'); if (typeSelect) typeSelect.value = this._discoveredData.source_type || 'web_source'; - document.getElementById('src-type-display').value = typeLabel; const rssGroup = document.getElementById('src-rss-url-group'); const rssInput = document.getElementById('src-rss-url'); @@ -2811,7 +2810,6 @@ const App = { const typeLabel = source.source_type === 'rss_feed' ? 'RSS-Feed' : source.source_type === 'telegram_channel' ? 'Telegram' : 'Web-Quelle'; const typeSelect = document.getElementById('src-type-select'); if (typeSelect) typeSelect.value = source.source_type || 'web_source'; - document.getElementById('src-type-display').value = typeLabel; const rssGroup = document.getElementById('src-rss-url-group'); const rssInput = document.getElementById('src-rss-url');