Diff for /loncom/interface/lonconfigsettings.pm between versions 1.45 and 1.48

version 1.45, 2019/01/27 14:39:48 version 1.48, 2021/04/19 14:11:16
Line 221  $jscript Line 221  $jscript
                            "toggleLTI(document.display,'sec','add');".                             "toggleLTI(document.display,'sec','add');".
                            "toggleLTI(document.display,'lcauth','add');".                             "toggleLTI(document.display,'lcauth','add');".
                            "toggleLTI(document.display,'lcmenu','add');".                             "toggleLTI(document.display,'lcmenu','add');".
                            "toggleLTI(document.display,'passback','add');";                             "toggleLTI(document.display,'passback','add');".
                              "toggleLTI(document.display,'callback','add');";
                 if (ref($values) eq 'HASH') {                  if (ref($values) eq 'HASH') {
                     if (ref($values->{'lti'}) eq 'HASH') {                      if (ref($values->{'lti'}) eq 'HASH') {
                         my $numlti = scalar(keys(%{$values->{'lti'}}));                          my $numlti = scalar(keys(%{$values->{'lti'}}));
Line 231  $jscript Line 232  $jscript
                                        "toggleLTI(document.display,'sec','$i');".                                         "toggleLTI(document.display,'sec','$i');".
                                        "toggleLTI(document.display,'lcauth','$i');".                                         "toggleLTI(document.display,'lcauth','$i');".
                                        "toggleLTI(document.display,'lcmenu','$i');".                                         "toggleLTI(document.display,'lcmenu','$i');".
                                        "toggleLTI(document.display,'passback','$i');";                                         "toggleLTI(document.display,'passback','$i');".
                                          "toggleLTI(document.display,'callback','$i');";
                         }                          }
                     }                      }
                 }                  }
Line 251  $jscript Line 253  $jscript
                     }                      }
                 }                  }
             }              }
               if (grep(/^wafproxy$/,@actions)) {
                   $onload .= "toggleWAF();checkWAF();updateWAF();";
               }
               if (grep(/^proctoring$/,@actions)) {
                   $onload .= "toggleProctoring(document.display,'proctorio');".
                              "toggleProctoring(document.display,'examity');";
               }
             if (grep(/^scantron$/,@actions)) {              if (grep(/^scantron$/,@actions)) {
                 $onload .= "toggleScantron('document.display');";                  $onload .= "toggleScantron('document.display');";
             }              }

Removed from v.1.45  
changed lines
  Added in v.1.48


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>