Commit 11134112 by polesye

Fix multiple LTI tools per page.

parent 8e9c48c2
......@@ -92,10 +92,10 @@ class LTIModule(LTIFields, XModule):
<form
action="${launch_url}"
name="ltiLaunchForm"
name="ltiLaunchForm-${element_id}"
class="ltiLaunchForm"
method="post"
target="ltiLaunchFrame"
target="ltiLaunchFrame-${element_id}"
encType="application/x-www-form-urlencoded"
>
<input name="launch_presentation_return_url" value="" />
......
......@@ -5,10 +5,10 @@
## result will be rendered to the below iFrame.
<form
action="${launch_url}"
name="ltiLaunchForm"
name="ltiLaunchForm-${element_id}"
class="ltiLaunchForm"
method="post"
target="ltiLaunchFrame"
target="ltiLaunchFrame-${element_id}"
encType="application/x-www-form-urlencoded"
>
......@@ -26,7 +26,7 @@
## The result of the form submit will be rendered here.
<iframe
name="ltiLaunchFrame"
name="ltiLaunchFrame-${element_id}"
class="ltiLaunchFrame"
src=""
></iframe>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment