[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentsubmissions.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Nov 2004 15:21:38 -0000
matthew Mon Nov 8 10:21:38 2004 EDT
Modified files:
/loncom/interface/statistics lonstudentsubmissions.pm
Log:
CSV output wasn't stopping if the user hit 'stop'. Now it does.
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.26 loncom/interface/statistics/lonstudentsubmissions.pm:1.27
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.26 Mon Nov 8 10:14:52 2004
+++ loncom/interface/statistics/lonstudentsubmissions.pm Mon Nov 8 10:21:38 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentsubmissions.pm,v 1.26 2004/11/08 15:14:52 matthew Exp $
+# $Id: lonstudentsubmissions.pm,v 1.27 2004/11/08 15:21:38 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -817,6 +817,7 @@
#
# Main loop
foreach my $student (@$students) {
+ last if ($c->aborted());
my @rows;
my $prob_start_idx = 0;
foreach my $prob (@$problems) {