--- loncom/interface/spreadsheet/classcalc.pm 2004/04/26 14:06:00 1.19 +++ loncom/interface/spreadsheet/classcalc.pm 2004/06/04 21:43:36 1.20 @@ -1,5 +1,5 @@ # -# $Id: classcalc.pm,v 1.19 2004/04/26 14:06:00 matthew Exp $ +# $Id: classcalc.pm,v 1.20 2004/06/04 21:43:36 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -376,13 +376,11 @@ sub compute { $self->initialize_safe_space(); my %c = $self->constants(); my %f = $self->formulas(); + &Apache::studentcalc::initialize_package(); my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin ($r,&mt('Spreadsheet Computation Status'), &mt('Spreadsheet Computation'), scalar(@Students)); &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state, - &mt('Processing course structure')); - &Apache::studentcalc::initialize_package(); - &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state, &mt('Processing first student')); foreach my $student (@Students) { if ($connection->aborted()) { $self->cleanup(); return; }