Commit e76e8621 by polesye

Fix attribute target.

parent 06a85e6e
......@@ -50,7 +50,7 @@ def lti_is_rendered(_step, rendered_in):
assert world.is_css_present('.link_lti_new_window')
assert not world.is_css_present('.error_message')
check_lti_popup()
else: # incorrent rendered_in parametetr
else: # incorrent rendered_in parameter
assert False
......
......@@ -18,7 +18,7 @@
name="ltiLaunchForm-${element_id}"
class="ltiLaunchForm"
method="post"
target=${"_blank" if open_in_a_new_page else "ltiLaunchFrame-${element_id}"}
target=${"_blank" if open_in_a_new_page else "ltiLaunchFrame-{0}".format(element_id)}
encType="application/x-www-form-urlencoded"
>
......
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