[LON-CAPA-cvs] cvs: loncom /homework rankresponse.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 20 Mar 2003 17:59:19 -0000
sakharuk Thu Mar 20 12:59:19 2003 EDT
Modified files:
/loncom/homework rankresponse.pm
Log:
Corrected enumeration of items in the exam mode.
Index: loncom/homework/rankresponse.pm
diff -u loncom/homework/rankresponse.pm:1.6 loncom/homework/rankresponse.pm:1.7
--- loncom/homework/rankresponse.pm:1.6 Wed Mar 19 13:25:03 2003
+++ loncom/homework/rankresponse.pm Thu Mar 20 12:59:19 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# rank style response
#
-# $Id: rankresponse.pm,v 1.6 2003/03/19 18:25:03 sakharuk Exp $
+# $Id: rankresponse.pm,v 1.7 2003/03/20 17:59:19 sakharuk Exp $
# Copyright Michigan State University Board of Trustees
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
@@ -281,7 +281,6 @@
if ($Apache::lonhomework::type eq 'exam') {
$result.='\begin{enumerate}\item[\textbf{'.$Apache::lonxml::counter.'}.]\vskip 0 mm '.$text."\n";
$result.=&Apache::optionresponse::bubbles(\@alp,\@whichopt).'\end{enumerate} \vskip -7 mm \strut ';
- &Apache::lonxml::increment_counter();
} else {
$result.=' \\\\ \framebox[5 mm][s]{\tiny\strut} '.$text."\n";
}