Skip to content

Commit

Permalink
N21-1768 fix CTL LTI resource_link_id (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
MBergCap authored Feb 22, 2024
1 parent e1ab225 commit 8372a50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion controllers/ctltools.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const sanitizeToolInputs = (id, body) => {
break;
case 'lti11':
body.config.secret = body.config.secret || undefined;
body.config.resource_link_id = body.config.resource_link_id || undefined;
break;
case 'basic':
break;
Expand Down
5 changes: 1 addition & 4 deletions views/ctltools/forms/add-ctl-tool.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@
{{/each}}
</select>
</div>
<div class="form-group">
<label class="control-label" for="resource_link_id">Resource Link ID (sonst wird automatisch Kurs-ID verwendet)</label>
<input type="text" name="config[resource_link_id]" id="resource_link_id" class="form-control">
</div>
<p><b>Resource Link ID wird automatisch generiert</b></p>
<div class="form-group">
<label class="control-label" for="key">Sprache *</label>
<textarea name="config[launch_presentation_locale]" id="launch_presentation_locale" placeholder="de-DE" class="form-control required"></textarea>
Expand Down

0 comments on commit 8372a50

Please sign in to comment.