[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Sat Jan 30 16:47:45 EST 2021


raeburn		Sat Jan 30 21:47:45 2021 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Save dom config for weight for unsend count (before adding to warnings).
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.376 loncom/interface/domainprefs.pm:1.377
--- loncom/interface/domainprefs.pm:1.376	Tue Jan  5 04:23:45 2021
+++ loncom/interface/domainprefs.pm	Sat Jan 30 21:47:44 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.376 2021/01/05 04:23:45 raeburn Exp $
+# $Id: domainprefs.pm,v 1.377 2021/01/30 21:47:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -15205,7 +15205,7 @@
                 $contacts_hash{'contacts'}{'lonstatus'}{$item} = \@excluded;
             }
         } elsif ($item eq 'weights') {
-            foreach my $type ('E','W','N') {
+            foreach my $type ('E','W','N','U') {
                 $env{'form.error'.$item.'_'.$type} =~ s/^\s+|\s+$//g;
                 if ($env{'form.error'.$item.'_'.$type} =~ /^\d+$/) {
                     unless ($env{'form.error'.$item.'_'.$type} == $lonstatus_defs->{$type}) {




More information about the LON-CAPA-cvs mailing list