From f0cc447350b3c6fd4a76c715eaf12dc33231166c Mon Sep 17 00:00:00 2001 From: eclipse Date: Tue, 22 Apr 2025 11:52:17 +0200 Subject: [PATCH] cleaned up some debug code --- the_works/templates/views/texte.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/the_works/templates/views/texte.html b/the_works/templates/views/texte.html index d16c8d6..3e349b0 100644 --- a/the_works/templates/views/texte.html +++ b/the_works/templates/views/texte.html @@ -89,9 +89,7 @@ document.getElementById("dialog-heading").textContent = "Text bearbeiten"; document.getElementById("text_titel").value = titel; document.getElementById("text_untertitel").value = untertitel; -console.log("'reihe' is " + reihe); - // document.getElementById("text_reihe").selectedIndex = reihe; - document.querySelector('#text_reihe [value="' + reihe + '"]').selected = true; + document.getElementById('text_reihe').selectedIndex = reihe; document.getElementById("text_textform").selectedIndex = textform; document.getElementById("text_sprache").selectedIndex = sprache; document.getElementById("text_submit").formAction = formaction;