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

raeburn raeburn at source.lon-capa.org
Mon Feb 10 12:12:55 EST 2020


raeburn		Mon Feb 10 17:12:55 2020 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  - Offer chance to change new section name if invalid characters found.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.204 loncom/interface/lonuserutils.pm:1.205
--- loncom/interface/lonuserutils.pm:1.204	Wed Sep 11 14:20:38 2019
+++ loncom/interface/lonuserutils.pm	Mon Feb 10 17:12:54 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.204 2019/09/11 14:20:38 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.205 2020/02/10 17:12:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3669,6 +3669,8 @@
         setSections(formname,'$crstype');
         if (seccheck == 'ok') {
             opener.document.$callingform.newsecs.value = formname.sections.value;
+        } else {
+            return;
         }
 END
     } else {




More information about the LON-CAPA-cvs mailing list