[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /xml lonxml.pm

raeburn raeburn at source.lon-capa.org
Sun Jul 7 21:05:55 EDT 2024


raeburn		Mon Jul  8 01:05:55 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/xml	lonxml.pm 
  Log:
  - For 2.11
    Include one change in 1.566 omitted in 1.531.2.25 backport.
    Include just one change from the many changes in rev. 1.567.
    Backport 1.573.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.531.2.26 loncom/xml/lonxml.pm:1.531.2.27
--- loncom/xml/lonxml.pm:1.531.2.26	Sun Jul  7 21:43:24 2024
+++ loncom/xml/lonxml.pm	Mon Jul  8 01:05:55 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.531.2.26 2024/07/07 21:43:24 raeburn Exp $
+# $Id: lonxml.pm,v 1.531.2.27 2024/07/08 01:05:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1723,7 +1723,7 @@
       my %lt=&Apache::lonlocal::texthash('st' => 'Save and Edit',
 					 'vi' => 'Save and View',
 					 'dv' => 'Discard Edits and View',
-					 'un' => 'undo',
+					 'un' => 'Undo',
 					 'ed' => 'Edit');
       my $spelllink = &Apache::lonhtmlcommon::spelllink('xmledit','filecont');
       my $textarea_events = &Apache::edit::element_change_detection();
@@ -1748,7 +1748,7 @@
           $onclick{$item} = 'onclick="is_submit=true;setmode(this.form,'."'$item'".')"';
       }
       unless ($uri =~ m{^/uploaded/}) {
-          $undo = '<input type="submit" name="Undo" accesskey="u" value="'.$lt{'un'}.'" '.
+          $undo = '<input type="button" name="undo" accesskey="u" value="'.$lt{'un'}.'" '.
                   $onclick{'undo'}.' />'."\n"; 
       }
       $initialize .= &setmode_javascript();




More information about the LON-CAPA-cvs mailing list