--- loncom/xml/londefdef.pm 2023/10/06 17:48:55 1.456.2.6.2.2 +++ loncom/xml/londefdef.pm 2023/12/29 23:33:43 1.456.2.6.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.456.2.6.2.2 2023/10/06 17:48:55 raeburn Exp $ +# $Id: londefdef.pm,v 1.456.2.6.2.3 2023/12/29 23:33:43 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -649,9 +649,9 @@ sub start_body { sub edit_controls { my ($nochgview) = @_; - my $result .= ' + my $result = &Apache::lonxml::seteditor_javascript().'
-
'; +
'."\n"; unless ($nochgview) { $result .= '
'. @@ -660,7 +660,10 @@ sub edit_controls {
'; } $result .= ' -
'; +
+ +'."\n"; if (($env{'request.course.id'}) && ($env{'form.forceedit'})) { my $url=&Apache::lonnet::hreflocation('',$env{'request.filename'}); if ($url =~ /\.html?$/i) {