--- loncom/homework/radiobuttonresponse.pm 2008/12/11 03:25:45 1.141 +++ loncom/homework/radiobuttonresponse.pm 2009/03/18 13:46:26 1.142 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # mutliple choice style responses # -# $Id: radiobuttonresponse.pm,v 1.141 2008/12/11 03:25:45 raeburn Exp $ +# $Id: radiobuttonresponse.pm,v 1.142 2009/03/18 13:46:26 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -386,8 +386,8 @@ sub displayallfoils { onchange=\"javascript:setSubmittedPart('$part');\" type=\"radio\" name=\"HWVAL_$Apache::inputtags::response['-1']\" - value=\"$temp\" "; - if (defined($lastresponse{$name})) { $result .= 'checked="on"'; } + value=\"$temp\""; + if (defined($lastresponse{$name})) { $result .= ' checked="checked"'; } $result .= ' />'.$Apache::response::foilgroup{$name.'.text'}. ''; } @@ -615,8 +615,8 @@ sub displayfoils { ""; } else { if ($Apache::lonhomework::type eq 'exam') {