From b9b76d2841b4883dfb8256cf546c71ef91fa3147 Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Thu, 26 Mar 2026 00:39:32 +0100 Subject: [PATCH] Fix: self -> VlmUI Reference in confirmAndSearch self war nicht definiert, JS-Error verhinderte den Overpass-Aufruf. Co-Authored-By: Claude Opus 4.6 (1M context) --- static/js/ui/vlm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/ui/vlm.js b/static/js/ui/vlm.js index dbf646c..3caff70 100644 --- a/static/js/ui/vlm.js +++ b/static/js/ui/vlm.js @@ -272,7 +272,7 @@ const VlmUI = { fetch('/api/vlm/generate-queries', { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ objects: selected, bbox: bbox, estimated_location_type: self._currentAnalysis.estimated_location_type || null }), + body: JSON.stringify({ objects: selected, bbox: bbox, estimated_location_type: VlmUI._currentAnalysis.estimated_location_type || null }), }) .then(function(r) { if (!r.ok) return r.json().then(function(d) { throw new Error(d.detail || 'Fehler'); });