[LON-CAPA-cvs] cvs: loncom /homework grades.pm

raeburn raeburn at source.lon-capa.org
Fri Aug 29 17:52:10 EDT 2025


raeburn		Fri Aug 29 21:52:10 2025 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Bug 6623. Use correct formname when determining text string in alerts
    generated by checkSelect() javascript function.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.821 loncom/homework/grades.pm:1.822
--- loncom/homework/grades.pm:1.821	Sun Aug 24 18:01:20 2025
+++ loncom/homework/grades.pm	Fri Aug 29 21:52:10 2025
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.821 2025/08/24 18:01:20 raeburn Exp $
+# $Id: grades.pm,v 1.822 2025/08/29 21:52:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2678,10 +2678,10 @@
     my %js_lt;
     if ($formname eq 'passbackusers') {
         %js_lt = &Apache::lonlocal::texthash (
-                     'multiple' => 'Please select a student or group of students before pushing the Save Scores button.',
-                     'single'   => 'Please select the student before pushing the Save Scores button.',
+                     'multiple' => 'Please select a student or group of students before pushing the Send Scores button.',
+                     'single'   => 'Please select the student before pushing the Send Scores button.',
                  );
-    } elsif ($formname eq 'passbackusers') {
+    } elsif ($formname eq 'graceusers') {
         %js_lt = &Apache::lonlocal::texthash (
                      'multiple' => 'Please select a student or group of students before pushing the Update button.',
                      'single'   => 'Please select the student before pushing the Update button.',




More information about the LON-CAPA-cvs mailing list