diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-08-13 10:05:26 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-08-13 10:05:26 +0200 |
| commit | c4574cf3c532e89482aa66754711dda6422b92ce (patch) | |
| tree | 9b4107b1e8b8ac964683ea5bb5785fba4e2653c5 | |
| parent | de22537b61e64cea8ed71cba9d25ba7740c046d6 (diff) | |
| download | unterricht-c4574cf3c532e89482aa66754711dda6422b92ce.tar.gz unterricht-c4574cf3c532e89482aa66754711dda6422b92ce.zip | |
planet: fix js using the same dataset key used in the markdown
Fixes: 52a4aa583ea522afb1aba9a529f434666f3be776
| -rw-r--r-- | Info/9/3/Planet/templates/add-glossary-item.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Info/9/3/Planet/templates/add-glossary-item.js b/Info/9/3/Planet/templates/add-glossary-item.js index 8d9eb33b..dd5d5cf5 100644 --- a/Info/9/3/Planet/templates/add-glossary-item.js +++ b/Info/9/3/Planet/templates/add-glossary-item.js @@ -89,7 +89,7 @@ async function addGlossaryItems() { const formData = new FormData(form); formData.set("concept", item.dataset.term ? item.dataset.term: item.textContent); - formData.set("definition_editor[text]", item.dataset.definition); + formData.set("definition_editor[text]", item.dataset.def); formData.set("usedynalink", "1"); formData.set("submitbutton", "Änderung speichern"); |
