--- loncom/xml/londefdef.pm 2023/11/28 04:48:14 1.474 +++ loncom/xml/londefdef.pm 2024/04/14 17:12:28 1.475 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.474 2023/11/28 04:48:14 raeburn Exp $ +# $Id: londefdef.pm,v 1.475 2024/04/14 17:12:28 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -50,7 +50,7 @@ use Apache::lonlocal; use Apache::loncommon(); use Apache::Constants qw(:common); use File::Basename; -use LONCAPA(); +use LONCAPA; # use Data::Dumper; BEGIN { @@ -658,7 +658,8 @@ sub start_body { sub edit_controls { my ($nochgview) = @_; - my $result = &Apache::lonxml::seteditor_javascript().' + my ($is_course_doc,$is_supp,$supp_path,$supp_title); + my $result = '