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
c8ea4da2
Commit
c8ea4da2
authored
Aug 27, 2013
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change h2 to h3
parent
e4e7a4e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
common/lib/xmodule/xmodule/js/fixtures/lti.html
+2
-2
common/lib/xmodule/xmodule/js/spec/lti/constructor.js
+1
-1
common/lib/xmodule/xmodule/js/src/lti/lti.js
+2
-2
No files found.
common/lib/xmodule/xmodule/js/fixtures/lti.html
View file @
c8ea4da2
...
...
@@ -27,10 +27,10 @@
</form>
<h
2
class=
"error_message hidden"
>
<h
3
class=
"error_message hidden"
>
Please provide LTI url. Click "Edit", and fill in the
required fields.
</h
2
>
</h
3
>
<iframe
name=
"ltiLaunchFrame"
...
...
common/lib/xmodule/xmodule/js/spec/lti/constructor.js
View file @
c8ea4da2
...
...
@@ -25,7 +25,7 @@
loadFixtures
(
'lti.html'
);
element
=
$
(
'#lti_id'
);
errorMessage
=
element
.
find
(
'
h2.
error_message'
);
errorMessage
=
element
.
find
(
'error_message'
);
form
=
element
.
find
(
'form#ltiLaunchForm'
);
frame
=
element
.
find
(
'iframe#ltiLaunchFrame'
);
...
...
common/lib/xmodule/xmodule/js/src/lti/lti.js
View file @
c8ea4da2
...
...
@@ -33,7 +33,7 @@ window.LTI = (function () {
if
(
form
.
attr
(
'action'
))
{
form
.
submit
();
element
.
find
(
'
h2
.error_message'
).
addClass
(
'hidden'
);
element
.
find
(
'.error_message'
).
addClass
(
'hidden'
);
frame
.
show
();
frame
.
width
(
'100%'
).
height
(
800
);
}
...
...
@@ -41,7 +41,7 @@ window.LTI = (function () {
// If no action URL was specified, we show an error message.
else
{
frame
.
hide
();
element
.
find
(
'
h2
.error_message'
).
removeClass
(
'hidden'
);
element
.
find
(
'.error_message'
).
removeClass
(
'hidden'
);
}
}
...
...
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