Skip to content

Commit

Permalink
when to show sliders, 1
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Oct 6, 2023
1 parent d376085 commit bb2f4f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/labeling/roiSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -1279,17 +1279,17 @@ function makeFormReactive() {
document.getElementById('save').style.display = 'none';
if (e.target.value == 'Evaluable for sTILs') {
// show sliders when evaluable
document.getElementById('sliders').style.display = 'none';
document.getElementById('vta').style.display = 'none';
document.getElementById('til_message').style.display = 'none';
//document.getElementById('sliders').style.display = 'none';
//document.getElementById('vta').style.display = 'none';
//document.getElementById('til_message').style.display = 'none';
// tissue types 1 and 2 enable, 3 and 4 disable
document.getElementById('tt_radio_1').disabled = false;
document.getElementById('tt_radio_2').disabled = false;
document.getElementById('tt_radio_3').disabled = true;
document.getElementById('tt_radio_4').disabled = true;
} else {
// hide sliders when not evaluable
document.getElementById('sliders').style.display = 'none';
// document.getElementById('sliders').style.display = 'none';
// tissue types 1 and 2 disable, 3 and 4 enaable
document.getElementById('tt_radio_1').disabled = true;
document.getElementById('tt_radio_2').disabled = true;
Expand Down

0 comments on commit bb2f4f8

Please sign in to comment.