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

raeburn raeburn at source.lon-capa.org
Sat Jan 17 21:30:14 EST 2026


raeburn		Sun Jan 18 02:30:14 2026 EDT

  Modified files:              
    /loncom/interface	selfenroll.pm 
  Log:
  - Changes in createaccount.pm rev. 1.91 mean submit code needed for send().
  
  
Index: loncom/interface/selfenroll.pm
diff -u loncom/interface/selfenroll.pm:1.37 loncom/interface/selfenroll.pm:1.38
--- loncom/interface/selfenroll.pm:1.37	Tue Jun 15 20:52:26 2021
+++ loncom/interface/selfenroll.pm	Sun Jan 18 02:30:14 2026
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Allow users to self-enroll in a course
 #
-# $Id: selfenroll.pm,v 1.37 2021/06/15 20:52:26 raeburn Exp $
+# $Id: selfenroll.pm,v 1.38 2026/01/18 02:30:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -68,7 +68,8 @@
     }
     my $now = time;
     if ($env{'form.phase'} eq 'login') {
-        $js .= "\n".&Apache::createaccount::javascript_setforms($now);
+        my $submitform = "               document.server.submit();\n";
+        $js .= "\n".&Apache::createaccount::javascript_setforms($now,$submitform);
     }
     my %coursehash = &Apache::lonnet::coursedescription($courseid);
     my $cdom = $coursehash{'domain'};




More information about the LON-CAPA-cvs mailing list