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

raeburn raeburn at source.lon-capa.org
Mon Jan 25 09:21:17 EST 2021


raeburn		Mon Jan 25 14:21:17 2021 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Accommodate access via "Grade ungraded submissions" link which doesn't
    prompt instructor to select Access Status.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.783 loncom/homework/grades.pm:1.784
--- loncom/homework/grades.pm:1.783	Sat Jan 23 20:32:17 2021
+++ loncom/homework/grades.pm	Mon Jan 25 14:21:17 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.783 2021/01/23 20:32:17 raeburn Exp $
+# $Id: grades.pm,v 1.784 2021/01/25 14:21:17 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1216,7 +1216,7 @@
 	'<input type="hidden" name="symb" value="'.&Apache::lonenc::check_encrypt($symb).'" />'."\n".
 	'<input type="hidden" name="saveStatusOld" value="'.$saveStatus.'" />'."\n";
     if (exists($env{'form.Status'})) {
-	$gradeTable .= '<input type="hidden" name="Status" value="'.$stu_status.'" />'."\n";
+	$gradeTable .= '<input type="hidden" name="Status" value="'.$env{'form.Status'}.'" />'."\n";
     } else {
         $gradeTable .= &Apache::lonhtmlcommon::row_closure()
                       .&Apache::lonhtmlcommon::row_title(&mt('Student Status'))




More information about the LON-CAPA-cvs mailing list