--- loncom/homework/radiobuttonresponse.pm 2013/04/30 03:03:34 1.157 +++ loncom/homework/radiobuttonresponse.pm 2015/04/07 15:26:24 1.157.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.157 2013/04/30 03:03:34 raeburn Exp $ +# $Id: radiobuttonresponse.pm,v 1.157.2.1 2015/04/07 15:26:24 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -824,10 +824,10 @@ sub html_radiobutton { my $result='<label>'; - $result .= '<input type="radio" - onchange="javascript:setSubmittedPart(' . "'$part');\"" - . 'name="HWVAL_' . $fieldname . '"' - . "value='$value'"; + $result .= '<input type="radio" ' + . 'onchange="javascript:setSubmittedPart(' . "'$part');\" " + . 'name="HWVAL_' . $fieldname . '" ' + . 'value="'.$value.'"'; if (defined($last_responses->{$name})) { $result .= ' checked="checked" ';