[LON-CAPA-cvs] cvs: loncom /homework matchresponse.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 10 Oct 2003 16:47:25 -0000
albertel Fri Oct 10 12:47:25 2003 EDT
Modified files:
/loncom/homework matchresponse.pm
Log:
- re commiting changes from 1.23 that got backed out
Index: loncom/homework/matchresponse.pm
diff -u loncom/homework/matchresponse.pm:1.24 loncom/homework/matchresponse.pm:1.25
--- loncom/homework/matchresponse.pm:1.24 Wed Sep 24 14:14:30 2003
+++ loncom/homework/matchresponse.pm Fri Oct 10 12:47:25 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Full matching style response
#
-# $Id: matchresponse.pm,v 1.24 2003/09/24 18:14:30 sakharuk Exp $
+# $Id: matchresponse.pm,v 1.25 2003/10/10 16:47:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -369,7 +369,7 @@
%name_letter_map=
%{ $Apache::response::itemgroup{'name_letter_map'} };
}
- if ((($solved =~ /^correct/) || ($status eq 'SHOW_ANSWER')) && ($target ne 'tex')) {
+ if ( &Apache::response::show_answer() && ($target ne 'tex')) {
foreach my $name (@whichfoils) {
my $text=$Apache::response::foilgroup{$name.'.text'};
my $value=$Apache::response::foilgroup{$name.'.value'};