Skip to content

Commit

Permalink
bug fix e6
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Aug 2, 2022
1 parent d85d330 commit 9327258
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions portal/patient/templates/OnsiteDocumentListView.tpl.php
Expand Up @@ -192,22 +192,22 @@ function tfTemplateRadio(el) {
function replaceTextInputs() {
$('.templateInput').each(function () {
var rv = $(this).data('textvalue');
$(this).replaceWith(rv);
$(this).replaceWith(jsText(rv));
});
}

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);
});
}
Expand Down

0 comments on commit 9327258

Please sign in to comment.