From 831eb388f91f7a2947e13e54c6cf0c4d021cf743 Mon Sep 17 00:00:00 2001 From: Jesse Bickel Date: Wed, 25 Sep 2024 13:53:06 -0500 Subject: [PATCH] Improve hx-trigger to avoid loading more than once This is the same change as the previous commit but on the review form. --- hypha/apply/review/templates/review/review_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypha/apply/review/templates/review/review_form.html b/hypha/apply/review/templates/review/review_form.html index 02e523a0de..3db3980da5 100644 --- a/hypha/apply/review/templates/review/review_form.html +++ b/hypha/apply/review/templates/review/review_form.html @@ -65,7 +65,7 @@

{{ value }}

x-transition:leave-start="transform opacity-100 translate-x-0" x-transition:leave-end="transform opacity-0 translate-x-full" hx-get="{% url 'funds:submissions:partial-answers' submission.id %}" - hx-trigger="fetchSubmission from:body, intersect once" + hx-trigger="fetchSubmission from:body once" >

{% trans "Loading…" %}