--- loncom/interface/Attic/lonwizard.pm 2003/02/28 23:42:18 1.15 +++ loncom/interface/Attic/lonwizard.pm 2003/03/01 00:07:18 1.17 @@ -270,7 +270,7 @@ HEADER if ($self->{STATE} ne $self->{START_STATE}) { #$result .= '  '; } - if ($self->{DONE} { + if ($self->{DONE}) { my $returnPage = $self->{RETURN_PAGE}; $result .= "End Wizard"; } @@ -806,7 +806,7 @@ sub render { $result .= "\n \n"; $result .= "\n$text\n\n\n"; @@ -1266,6 +1266,7 @@ sub render { # Create the composite function that renders the column on the nav map # have to admit any language that lets me do this can't be all bad # - Jeremy (Pythonista) ;-) + my $checked = 0; my $renderColFunc = sub { my ($resource, $part, $params) = @_; @@ -1273,8 +1274,9 @@ sub render { return ' '; } else { my $col = "{$resource->{ID}}) { + if (!$checked) { $col .= "checked "; + $checked = 1; } $col .= "value='" . $resource->{ID} . "' />"; return $col;