--- loncom/homework/daxepage.pm 2024/04/17 14:15:45 1.16
+++ loncom/homework/daxepage.pm 2024/04/19 03:48:23 1.17
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Page with Daxe on the left side and the preview on the right side
#
-# $Id: daxepage.pm,v 1.16 2024/04/17 14:15:45 raeburn Exp $
+# $Id: daxepage.pm,v 1.17 2024/04/19 03:48:23 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -84,6 +84,9 @@ sub handler {
if ($is_not_assess) {
delete($editors{'xml'});
$editors{'edit'} = 1;
+ $Apache::lonnet::env{'form.editmode'} = 'daxe';
+ } else {
+ $Apache::lonnet::env{'form.problemmode'} = 'daxe';
}
&Apache::lonhtmlcommon::clear_breadcrumbs();
my %lt = &Apache::lonlocal::texthash(
@@ -139,7 +142,7 @@ sub handler {
$editheader .= ' | '.$other.': '.
'';
if ($is_not_assess) {
- $editheader .= ''."\n".
+ $editheader .= ''."\n".
''."\n";
} else {