Skip to content

Commit

Permalink
[clientapp] ensured demo parameters update correctly during experimen…
Browse files Browse the repository at this point in the history
…t reconstruction
  • Loading branch information
Jyotsnarajan committed Dec 6, 2024
1 parent 07e0369 commit 7b37e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipol_demo/clientApp/js/demo.parameters.types.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $.fn.selection_radio = function(param, index) {
$('#param-' + param.id).append('<div class="radio-option-' + i + '"></div>')
$('#param-' + param.id + " > .radio-option-" + i).append(`<input class=hand type=radio name=${param.id} id=selection_radio_${param.id}_${i} value="${values[i]}">`)
$('#param-' + param.id + " > .radio-option-" + i).append(`<label class=hand for=selection_radio_${param.id}_${i}>${keys[i]}</label>`);
if (param.default_value == values[i]) $(`#selection_radio_${param.id}_${i}`).prop('checked', true);
if (index == i) $(`#selection_radio_${param.id}_${i}`).prop('checked', true);
}
$('#param-' + param.id + ' > label').addClass('m-r-10');
if (vertical) $(`#param-${param.id}`).addClass('flex-vertical');
Expand Down

0 comments on commit 7b37e38

Please sign in to comment.