From 1daa25f3c696ccecc70694857968b62b04b76204 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 18 May 2022 17:57:44 +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 e33a6b89..b9d2ee5f 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -621,7 +621,7 @@ if (file_element.files.length > 0) { file_name = file_element.files[0].name //$(ul).find("input[type=text]").val(file_name); - $(ul).find("input[name~='filename']").val(file_name); + $(ul).find("input[name*='filename']").val(file_name); } if (file_element.files.length > 0 || $(ul).find(":contains('Currently:')")) {