From ea8c37f93c258affceb6fa1c45a710746ac7a7ed Mon Sep 17 00:00:00 2001 From: chrisala Date: Thu, 19 Dec 2024 10:09:26 +1100 Subject: [PATCH] Pass activity form name and version to table upload request #267 --- grails-app/assets/javascripts/forms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/assets/javascripts/forms.js b/grails-app/assets/javascripts/forms.js index 3e23d4d..e68755f 100644 --- a/grails-app/assets/javascripts/forms.js +++ b/grails-app/assets/javascripts/forms.js @@ -1186,7 +1186,7 @@ function orEmptyArray(v) { dataType: 'json', uploadTemplateId: listName + "template-upload", downloadTemplateId: listName + "template-download", - formData: {type: context.outputModel.name, listName: listName} + formData: {type: context.outputModel.name, listName: listName, activityForm: activityForm, formVersion: formVersion} }; self.uploadFailed = function (message) {