From 9327258089a77aec3c5733f99f26d48dc2666f0d Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Sun, 31 Jul 2022 12:24:44 -0700 Subject: [PATCH] bug fix e6 --- portal/patient/templates/OnsiteDocumentListView.tpl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/portal/patient/templates/OnsiteDocumentListView.tpl.php b/portal/patient/templates/OnsiteDocumentListView.tpl.php index 025177463a4..d594f4e414d 100644 --- a/portal/patient/templates/OnsiteDocumentListView.tpl.php +++ b/portal/patient/templates/OnsiteDocumentListView.tpl.php @@ -192,7 +192,7 @@ function tfTemplateRadio(el) { function replaceTextInputs() { $('.templateInput').each(function () { var rv = $(this).data('textvalue'); - $(this).replaceWith(rv); + $(this).replaceWith(jsText(rv)); }); } @@ -200,14 +200,14 @@ function replaceRadioValues() { $('.ynuGroup').each(function () { var gid = $(this).data('id'); var grpid = $(this).prop('id'); - var rv = $('input:radio[name="ynradio' + gid + '"]:checked').val(); + var rv = $('input:radio[name="ynradio' + jsAttr(gid) + '"]:checked').val(); $(this).replaceWith(rv); }); $('.tfuGroup').each(function () { var gid = $(this).data('id'); var grpid = $(this).prop('id'); - var rv = $('input:radio[name="tfradio' + gid + '"]:checked').val(); + var rv = $('input:radio[name="tfradio' + jsAttr(gid) + '"]:checked').val(); $(this).replaceWith(rv); }); }