--- loncom/interface/domainprefs.pm 2018/12/08 15:03:25 1.344
+++ loncom/interface/domainprefs.pm 2018/12/26 20:10:24 1.345
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.344 2018/12/08 15:03:25 raeburn Exp $
+# $Id: domainprefs.pm,v 1.345 2018/12/26 20:10:24 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2836,7 +2836,31 @@ sub lti_toggle_js {
// {$item}) eq 'HASH') {
$key = $settings->{$item}->{'key'};
$secret = $settings->{$item}->{'secret'};
$lifetime = $settings->{$item}->{'lifetime'};
$consumer = $settings->{$item}->{'consumer'};
+ $requser = $settings->{$item}->{'requser'};
$current = $settings->{$item};
}
+ my $onclickrequser = ' onclick="toggleLTI(this.form,'."'requser','$i'".');"';
+ my %checkedrequser = (
+ yes => ' checked="checked"',
+ no => '',
+ );
+ if (!$requser) {
+ $checkedrequser{'no'} = $checkedrequser{'yes'};
+ $checkedrequser{'yes'} = '';
+ }
my $chgstr = ' onchange="javascript:reorderLTI(this.form,'."'lti_pos_".$item."'".');"';
$datatable .= '
'
.' |