Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e76e8621
Commit
e76e8621
authored
Oct 14, 2013
by
polesye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix attribute target.
parent
06a85e6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/courseware/features/lti.py
+1
-1
lms/templates/lti.html
+1
-1
No files found.
lms/djangoapps/courseware/features/lti.py
View file @
e76e8621
...
@@ -50,7 +50,7 @@ def lti_is_rendered(_step, rendered_in):
...
@@ -50,7 +50,7 @@ def lti_is_rendered(_step, rendered_in):
assert
world
.
is_css_present
(
'.link_lti_new_window'
)
assert
world
.
is_css_present
(
'.link_lti_new_window'
)
assert
not
world
.
is_css_present
(
'.error_message'
)
assert
not
world
.
is_css_present
(
'.error_message'
)
check_lti_popup
()
check_lti_popup
()
else
:
# incorrent rendered_in paramete
t
r
else
:
# incorrent rendered_in parameter
assert
False
assert
False
...
...
lms/templates/lti.html
View file @
e76e8621
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
name=
"ltiLaunchForm-${element_id}"
name=
"ltiLaunchForm-${element_id}"
class=
"ltiLaunchForm"
class=
"ltiLaunchForm"
method=
"post"
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"
encType=
"application/x-www-form-urlencoded"
>
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment