--- loncom/homework/optionresponse.pm 2018/03/01 13:11:47 1.195.2.3 +++ loncom/homework/optionresponse.pm 2015/04/20 21:57:47 1.198 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: optionresponse.pm,v 1.195.2.3 2018/03/01 13:11:47 raeburn Exp $ +# $Id: optionresponse.pm,v 1.198 2015/04/20 21:57:47 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -516,9 +516,6 @@ sub grading_is_nonlenient { } elsif ($lenientparm=~/^1|on|yes$/i) { $nonlenient = 0; } - if (!$nonlenient) { - $Apache::inputtags::leniency=1; - } return $nonlenient; } @@ -760,7 +757,7 @@ sub displayfoils { # fieldname is this input field's name after HWVAL_ $optionlist=''. '\n"; + $fieldname.'\'].checked) { this.form.elements[\'HWVAL_'.$fieldname.'\'].value=\''.$esccheckboxopt.'\'; } else { this.form.elements[\'HWVAL_'.$fieldname.'\'].value=\''.$escaltopt.'\'; };setSubmittedPart(\''.$part.'\');"'.($defopt eq $checkboxopt?' checked="checked"':'')." />\n"; } else { # classic selection list $optionlist='