--- loncom/homework/optionresponse.pm 2015/04/28 13:12:52 1.200
+++ loncom/homework/optionresponse.pm 2018/02/28 13:20:50 1.201
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.200 2015/04/28 13:12:52 raeburn Exp $
+# $Id: optionresponse.pm,v 1.201 2018/02/28 13:20:50 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -795,7 +795,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.'\'; };javascript:setSubmittedPart(\''.$part.'\');"'.($defopt eq $checkboxopt?' checked="checked"':'')." />\n";
} else {
# classic selection list
$optionlist='