[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Wed, 13 Nov 2002 16:53:11 -0000
sakharuk Wed Nov 13 11:53:11 2002 EDT
Modified files:
/loncom/homework optionresponse.pm
Log:
Bug 771 is fixed. The reason of bad bechavior was my attempts to play
with Guy's optionresponse problems which I have not finished Monday.
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.62 loncom/homework/optionresponse.pm:1.63
--- loncom/homework/optionresponse.pm:1.62 Mon Nov 11 15:26:59 2002
+++ loncom/homework/optionresponse.pm Wed Nov 13 11:53:11 2002
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.62 2002/11/11 20:26:59 albertel Exp $
+# $Id: optionresponse.pm,v 1.63 2002/11/13 16:53:11 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -400,8 +400,8 @@
}
if ($Apache::response::foilgroup{$name.'.text'}=~/<drawoptionlist\s*\/>/) {
$Apache::response::foilgroup{$name.'.text'}=~s|<drawoptionlist\s*/>| \\makebox\[0\.3in\]\[b\]\{\\hrulefill\} |;
- $result.= $texoptionlist.$Apache::response::foilgroup{$name.'.text'};
}
+ $result.= $texoptionlist.$Apache::response::foilgroup{$name.'.text'};
} else {
if ($Apache::lonhomework::type eq 'exam') {
$result.= $texoptionlist.'\vspace*{-2 mm}\item[\textbf{'.$Apache::lonxml::counter.'}.]'.$Apache::response::foilgroup{$name.'.text'};