--- loncom/xml/londefdef.pm 2007/09/10 19:50:20 1.376 +++ loncom/xml/londefdef.pm 2007/09/20 21:39:13 1.378 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.376 2007/09/10 19:50:20 albertel Exp $ +# $Id: londefdef.pm,v 1.378 2007/09/20 21:39:13 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -578,10 +578,10 @@ sub start_body { 'force_register' => 1}); if ($env{'request.state'} ne 'published') { - + $currentstring.=&Apache::lonmenu::constspaceform(); + $currentstring.=&Apache::londefdef::edit_controls(); } $currentstring.=&Apache::lonxml::message_location(); - $currentstring.=&Apache::londefdef::edit_controls(); } elsif ($target eq 'tex') { $currentstring = '\begin{document}'; } @@ -589,8 +589,7 @@ sub start_body { } sub edit_controls { - my $result = &Apache::lonmenu::constspaceform(); - $result .= (<