From 05ee3abfd1e828ce666c1565e68e36da26c6b278 Mon Sep 17 00:00:00 2001 From: David Szkiba Date: Mon, 23 Dec 2024 12:15:05 +0100 Subject: [PATCH] GH-779 Fixup trigger button --- amd/src/catquizTestChooser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amd/src/catquizTestChooser.js b/amd/src/catquizTestChooser.js index 0dbac325c..89444a82a 100644 --- a/amd/src/catquizTestChooser.js +++ b/amd/src/catquizTestChooser.js @@ -64,6 +64,8 @@ export const init = () => { submitbutton.classList.remove('hidden'); return; } + let triggeredButtonField = document.getElementsByName('triggered_button')[0]; + triggeredButtonField.value = ''; switch (e.target.dataset.onChangeAction) { case 'reloadTestForm':