--- loncom/interface/lonprintout.pm 2003/02/27 19:41:40 1.121
+++ loncom/interface/lonprintout.pm 2003/02/27 21:01:09 1.122
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.121 2003/02/27 19:41:40 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.122 2003/02/27 21:01:09 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1355,7 +1355,7 @@ sub printWizard {
if (($ENV{'request.role'}=~m/^cc\./ or $ENV{'request.role'}=~m/^in\./ or $ENV{'request.role'}=~m/^ta\./) and ($ENV{'form.postdata'}=~/\/res\//)) {
push @{$printChoices}, ['all_problems', 'All problems in course (may take a lot of time)', 'CHOOSE_FORMAT'];
push @{$printChoices}, ['problems_for_students', "Problems from $sequenceTitle for selected students", 'CHOOSE_STUDENTS'];
- Apache::lonwizard::choose_student->new($wizard, "CHOOSE_STUDENTS", "Choose Students", "Select the students you wish to print the problems for:", '', 'CHOOSE_FORMAT', 'STUDENTS', 1);
+ Apache::lonwizard::choose_student->new($wizard, "CHOOSE_STUDENTS", "Choose Students", "Select the students you wish to print the problems for:", 'CHOOSE_FORMAT', 'STUDENTS', 1);
}
# FIXME: That RE should come from a library somewhere.
@@ -1422,20 +1422,6 @@ sub new {
return $self;
}
-sub postprocess {
- my $self = shift;
- my $wizard = $self->{WIZARD};
-
- # We have to manually collect the value and store it in the
- # wizard variable
- my $result = $ENV{'form.' . $self->{VAR_NAME} . '.layout'} . '|';
- $result .= $ENV{'form.' . $self->{VAR_NAME} . '.cols'} . '|';
- $result .= $ENV{'form.' . $self->{VAR_NAME} . '.paper'};
-
- $wizard->setVar($self->{VAR_NAME}, $result);
- $wizard->changeState($self->{NEXT_STATE});
-}
-
sub render {
my $self = shift;
my $wizard = $self->{WIZARD};