--- loncom/homework/response.pm 2008/09/11 14:47:17 1.204 +++ loncom/homework/response.pm 2008/10/24 16:22:54 1.206 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.204 2008/09/11 14:47:17 bisitz Exp $ +# $Id: response.pm,v 1.206 2008/10/24 16:22:54 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -575,7 +575,7 @@ sub end_mathresponse { my $partid = $Apache::inputtags::part; my $id = $Apache::inputtags::response[-1]; if (($Apache::inputtags::status['-1'] eq 'CAN_ANSWER') - && (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoneditor') ne 'no')) { + && (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoffeditor') ne 'yes')) { $result.=&edit_mathresponse_button($id,"HWVAL_$id"); } } @@ -680,7 +680,7 @@ sub start_responseparam { } } if (defined($optionlist)) { - $result.='Use template:
'; }