--- loncom/homework/grades.pm 2019/01/28 21:36:53 1.756 +++ loncom/homework/grades.pm 2019/01/31 17:44:18 1.757 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.756 2019/01/28 21:36:53 raeburn Exp $ +# $Id: grades.pm,v 1.757 2019/01/31 17:44:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -9111,7 +9111,9 @@ END } if ($count > 1) { $formatextra = ''; + ''. + &mt('Bubblesheet type:').' '. + &scantron_scantab().''; $onclick = ' onclick="toggleScantab(this.form);"'; $formatjs = <<"END"; function toggleScantab(form) { @@ -9126,7 +9128,7 @@ function toggleScantab(form) { if (chosen == 'dat') { document.getElementById(divid).style.display = 'none'; } else if (chosen == 'csv') { - document.getElementById(divid).style.display = 'inline-block'; + document.getElementById(divid).style.display = 'block'; } } } @@ -9152,7 +9154,7 @@ END } elsif (keys(%{$domconfig{'scantron'}{'config'}}) == 1) { if (ref($domconfig{'scantron'}{'config'}{'csv'}{'fields'}) eq 'HASH') { if (keys(%{$domconfig{'scantron'}{'config'}{'csv'}{'fields'}})) { - $formattitle = &mt('Format of bubblesheet data file:'); + $formattitle = &mt('Bubblesheet type'); $formatoptions = &scantron_scantab(); } }