From e012ac2d454f90c1ab8318d1bef36bcd54c3545b Mon Sep 17 00:00:00 2001 From: Martijn van de Rijdt Date: Wed, 19 Jul 2023 16:30:48 -0400 Subject: [PATCH] fixed: transformation result not customized for OpenClinica after last merge --- public/js/src/module/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/src/module/connection.js b/public/js/src/module/connection.js index 2e94e26e..cd7ed71a 100644 --- a/public/js/src/module/connection.js +++ b/public/js/src/module/connection.js @@ -462,7 +462,7 @@ const transformPreviewXForm = async (xformURL) => { mode: 'cors', }); const xform = await response.text(); - const transformed = await transform({ xform }); + const transformed = await transform({ xform, openclinica: true }); // Since media attachments will not be available for preview-by-URL, map // media file names to empty `data:` URLs.