This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new b1d918ea0a fix: ensure DAG trigger form submits with updated
parameters upon keyboard submit (#42487) (#42499)
b1d918ea0a is described below
commit b1d918ea0a246a3a9a8d30a6d49cae501b6ef549
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Thu Sep 26 21:27:42 2024 +0800
fix: ensure DAG trigger form submits with updated parameters upon keyboard
submit (#42487) (#42499)
(cherry picked from commit 5af74639503df4cc723e5663b4abb99ba8022147)
Co-authored-by: Danny Liu <[email protected]>
---
airflow/www/templates/airflow/trigger.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/www/templates/airflow/trigger.html
b/airflow/www/templates/airflow/trigger.html
index 158b54caba..1d27acc4fd 100644
--- a/airflow/www/templates/airflow/trigger.html
+++ b/airflow/www/templates/airflow/trigger.html
@@ -165,7 +165,7 @@
<small class="text-muted">{{ dag.description[0:150] + '…' if
dag.description and dag.description|length > 150 else
dag.description|default('', true) }}</small>
</h2>
{{ dag_docs(doc_md, False) }}
- <form method="POST" id="trigger_form">
+ <form method="POST" id="trigger_form" onsubmit="updateJSONconf();">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<input type="hidden" name="dag_id" value="{{ dag_id }}">
<input type="hidden" name="origin" value="{{ origin }}">