--- loncom/homework/inputtags.pm 2002/11/06 22:40:29 1.72
+++ loncom/homework/inputtags.pm 2002/11/19 14:59:35 1.74
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.72 2002/11/06 22:40:29 albertel Exp $
+# $Id: inputtags.pm,v 1.74 2002/11/19 14:59:35 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -153,8 +153,10 @@ sub start_textline {
my $partid=$Apache::inputtags::part;
my $id=$Apache::inputtags::response[-1];
my $oldresponse = &HTML::Entities::encode($Apache::lonhomework::history{"resource.$partid.$id.submission"});
- $result= '';
+ if ($Apache::lonhomework::type ne 'exam') {
+ $result= '';
+ }
} else {
#right or wrong don't show what was last typed in.
#$result=''.$oldresponse.'';
@@ -167,6 +169,8 @@ sub start_textline {
} elsif ($target eq 'modified') {
my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'size');
if ($constructtag) { $result = &Apache::edit::rebuild_tag($token); }
+ } elsif ($target eq 'tex') {
+ $result='\framebox[1cm][s]{\hfill}';
}
return $result;
}