[LON-CAPA-cvs] cvs: loncom(version_1_0_1) /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 03 Oct 2003 15:27:56 -0000
albertel Fri Oct 3 11:27:56 2003 EDT
Modified files: (Branch: version_1_0_1)
/loncom/homework structuretags.pm
Log:
- backport 1.212
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.200.2.1 loncom/homework/structuretags.pm:1.200.2.2
--- loncom/homework/structuretags.pm:1.200.2.1 Fri Aug 29 22:40:17 2003
+++ loncom/homework/structuretags.pm Fri Oct 3 11:27:56 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.200.2.1 2003/08/30 02:40:17 albertel Exp $
+# $Id: structuretags.pm,v 1.200.2.2 2003/10/03 15:27:56 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -975,7 +975,9 @@
} elsif (($target eq 'web' || $target eq 'tex') && !$hidden ) {
my $gradestatus=&Apache::inputtags::gradestatus($Apache::inputtags::part,
$target);
- if ($Apache::lonhomework::type eq 'exam') {$gradestatus='';}
+ if ($Apache::lonhomework::type eq 'exam' && $target eq 'tex') {
+ $gradestatus='';
+ }
$result=$gradestatus;
} elsif ($target eq 'edit') {
$result=&Apache::edit::end_table();