--- loncom/homework/structuretags.pm 2023/11/27 22:44:20 1.581
+++ loncom/homework/structuretags.pm 2023/11/28 04:48:15 1.582
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.581 2023/11/27 22:44:20 raeburn Exp $
+# $Id: structuretags.pm,v 1.582 2023/11/28 04:48:15 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -842,6 +842,9 @@ sub problem_edit_buttons {
if ($editors{'edit'}) {
$result.=&problem_edit_action_button('subedit','edit','e','Edit',1);
}
+ if ($editors{'daxe'}) {
+ $result.=&problem_edit_action_button('subdaxe','daxe','w','Edit with Daxe',1);
+ }
$result.=&problem_edit_action_button('subundo','undoxml','u','Undo',1);
if (&Apache::loncommon::nocodemirror()) {
$result.=&Apache::lonhtmlcommon::dragmath_button("LC_editxmltext",1);
@@ -850,6 +853,9 @@ sub problem_edit_buttons {
if ($editors{'xml'}) {
$result.=&problem_edit_action_button('subeditxml','editxml','x','EditXML',1);
}
+ if ($editors{'daxe'}) {
+ $result.=&problem_edit_action_button('subdaxe','daxe','w','Edit with Daxe',1);
+ }
$result.=&problem_edit_action_button('subundo','undo','u','Undo',1);
}
$result.="\n";
@@ -1063,8 +1069,8 @@ $show_all
($env{'browser.type'} ne 'explorer' || $env{'browser.version'} > 9)) {
my $uri = $env{'request.uri'};
my $daxeurl = '/daxepage'.$uri;
- $result .= '';
+ $result .= '';
}
$result.='