--- loncom/homework/lonhomework.pm 2002/10/14 16:46:42 1.94 +++ loncom/homework/lonhomework.pm 2002/10/16 19:29:44 1.97 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.94 2002/10/14 16:46:42 bowersj2 Exp $ +# $Id: lonhomework.pm,v 1.97 2002/10/16 19:29:44 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -378,8 +378,9 @@ sub renderpage { my %mystyle; my $result = ''; - &Apache::inputtags::initialize_inputtags; - &Apache::edit::initialize_edit; + &Apache::inputtags::initialize_inputtags(); + &Apache::outputtags::initialize_outputtags(); + &Apache::edit::initialize_edit(); if ($target eq 'analyze') { %Apache::lonhomework::anaylze=(); } if ($target eq 'web') { my ($symb)=&Apache::lonxml::whichuser(); @@ -506,7 +507,8 @@ sub handler { #my $t0 = [&gettimeofday()]; my $request=$_[0]; - #if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;} +# if ( $ENV{'user.name'} eq 'albertel' ) {$Apache::lonxml::debug=1;} + $Apache::lonxml::debug=$ENV{'user.debug'}; if (&setupheader($request)) { return OK; } $ENV{'request.uri'}=$request->uri;