This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5af7463950 fix: ensure DAG trigger form submits with updated
parameters upon keyboard submit (#42487)
5af7463950 is described below
commit 5af74639503df4cc723e5663b4abb99ba8022147
Author: Danny Liu <[email protected]>
AuthorDate: Thu Sep 26 04:28:08 2024 -0700
fix: ensure DAG trigger form submits with updated parameters upon keyboard
submit (#42487)
---
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 7cdcd337be..71d09e7907 100644
--- a/airflow/www/templates/airflow/trigger.html
+++ b/airflow/www/templates/airflow/trigger.html
@@ -163,7 +163,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 }}">