[LON-CAPA-cvs] cvs: loncom /homework imageresponse.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 18 May 2006 22:02:03 -0000
albertel Thu May 18 18:02:03 2006 EDT
Modified files:
/loncom/homework imageresponse.pm
Log:
- only addd the exam score line in exam mode
Index: loncom/homework/imageresponse.pm
diff -u loncom/homework/imageresponse.pm:1.76 loncom/homework/imageresponse.pm:1.77
--- loncom/homework/imageresponse.pm:1.76 Wed Mar 8 20:37:39 2006
+++ loncom/homework/imageresponse.pm Thu May 18 18:02:03 2006
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# image click response style
#
-# $Id: imageresponse.pm,v 1.76 2006/03/09 01:37:39 albertel Exp $
+# $Id: imageresponse.pm,v 1.77 2006/05/18 22:02:03 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -70,7 +70,8 @@
my $result;
if ($target eq 'edit') {
$result=&Apache::edit::end_table();
- } elsif ($target eq 'tex') {
+ } elsif ($target eq 'tex'
+ && $Apache::lonhomework::type eq 'exam') {
$result=&Apache::inputtags::exam_score_line($target);
}