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

raeburn raeburn at source.lon-capa.org
Mon May 25 12:40:44 EDT 2026


raeburn		Mon May 25 16:40:44 2026 EDT

  Modified files:              
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - Need checkAll() and uncheckAll() javascript when displaying Trust Settings. 
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.83 loncom/interface/lonconfigsettings.pm:1.84
--- loncom/interface/lonconfigsettings.pm:1.83	Mon May  4 18:11:42 2026
+++ loncom/interface/lonconfigsettings.pm	Mon May 25 16:40:44 2026
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.83 2026/05/04 18:11:42 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.84 2026/05/25 16:40:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -704,7 +704,7 @@
                         if (ref($values) eq 'HASH') {
                             $settings = $values->{$item};
                         }
-                        if (($item eq 'usersessions') || ($item eq 'ssl')) {
+                        if (($item eq 'usersessions') || ($item eq 'ssl') || ($item eq 'trust')) {
                             unless ($got_check_uncheck) {
                                 $r->print('<script type="text/javascript">'."\n".
                                           '// <![CDATA['."\n".
@@ -1038,7 +1038,7 @@
                 for (var i=0; i<radioname.length; i++) {
                     if (radioname[i].checked == true) {
                         if (radioname[i].value == 1) {
-                            newdivid.style.display = 'inline-block';
+                            newdivid.style.display = 'block';
                             currdivid.style.display = 'none';
                             setvis = 1;
                         }




More information about the LON-CAPA-cvs mailing list