From f294cf724bff4e4197b44c4033a8f1982e05a0f6 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 30 Oct 2021 00:29:03 +0100 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 2b8b7e4c..17ff6d38 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -27,7 +27,7 @@ function add_input_form() { var form_idx = $('#id_images-TOTAL_FORMS').val(); - $('#image_form_set').append($('#empty_form').html().replace(/__prefix__/g, form_idx).on("change", input_change)); + $('#image_form_set').append($($('#empty_form').html().replace(/__prefix__/g, form_idx)).on("change", input_change)); $('#id_images-TOTAL_FORMS').val(parseInt(form_idx) + 1); }