--- loncom/homework/grades.pm 2004/04/22 22:57:53 1.187 +++ loncom/homework/grades.pm 2004/04/24 08:31:57 1.188 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.187 2004/04/22 22:57:53 albertel Exp $ +# $Id: grades.pm,v 1.188 2004/04/24 08:31:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4118,15 +4118,26 @@ sub scantron_get_correction { $r->print("\n
"); $r->print(" Use the CODE ".$$scan_record{'scantron.CODE'}." that is was on the paper, ignoring the error."); $r->print("\n
"); + $r->print(< +function change_radio(field) { + var slct=document.scantronupload.scan_CODE_resolution; + var i; + for (i=0;i +ENDSCRIPT my $href="/adm/pickcode?". "form=".&Apache::lonnet::escape("scantronupload"). "&scantron_format=".&Apache::lonnet::escape($ENV{'form.scantron_format'}). "&scantron_CODElist=".&Apache::lonnet::escape($ENV{'form.scantron_CODElist'}). "&curCODE=".&Apache::lonnet::escape($$scan_record{'scantron.CODE'}). "&scantron_selectfile=".&Apache::lonnet::escape($ENV{'form.scantron_selectfile'}); - $r->print(" Select a CODE from the list of all CODEs and use it. Selected CODE is "); + $r->print(" Select a CODE from the list of all CODEs and use it. Selected CODE is "); $r->print("\n
"); - $r->print(" Use as the CODE."); + $r->print(" Use as the CODE."); $r->print("\n

"); } elsif ($error eq 'doublebubble') { #FIXME Need to print out who this is along with the paper info