[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
bisitz
bisitz@source.lon-capa.org
Thu, 01 Oct 2009 16:28:24 -0000
bisitz Thu Oct 1 16:28:24 2009 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
Bug 6022 - Workaround:
Only update status each 5 rows instead of each row to get rid of disturbing additional line break generated by scripttag()
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.157 loncom/interface/statistics/lonstudentassessment.pm:1.158
--- loncom/interface/statistics/lonstudentassessment.pm:1.157 Tue Sep 22 14:28:56 2009
+++ loncom/interface/statistics/lonstudentassessment.pm Thu Oct 1 16:28:24 2009
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.157 2009/09/22 14:28:56 bisitz Exp $
+# $Id: lonstudentassessment.pm,v 1.158 2009/10/01 16:28:24 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -825,7 +825,12 @@
return if (! defined($navmap));
#
if($count++ % 5 == 0 && $count > 0) {
- $r->print("</pre><pre>");
+# $r->print("</pre><pre>");
+ $r->print('</pre>');
+ &Apache::lonhtmlcommon::Increment_PrgWin(
+ $r,\%prog_state,'last five students');
+ $r->rflush();
+ $r->print('<pre>');
}
# First, the @StudentData fields need to be listed
my @to_show = &get_student_fields_to_show();
@@ -937,8 +942,8 @@
#
$r->print($Str);
#
- $r->rflush();
- &Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state,'last student');
+# $r->rflush();
+# &Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state,'last student');
return;
}