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
0c3468a0
Commit
0c3468a0
authored
Jun 01, 2016
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use edx.HtmlUtils properly in incourse_reverify_view
parent
df2f347a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
lms/static/js/verify_student/views/incourse_reverify_view.js
+10
-8
No files found.
lms/static/js/verify_student/views/incourse_reverify_view.js
View file @
0c3468a0
...
...
@@ -6,7 +6,7 @@
*/
var
edx
=
edx
||
{};
(
function
(
$
,
_
,
_s
,
Backbone
,
gettext
)
{
(
function
(
$
,
_
,
_s
,
Backbone
,
gettext
,
HtmlUtils
)
{
'use strict'
;
edx
.
verify_student
=
edx
.
verify_student
||
{};
...
...
@@ -40,13 +40,15 @@
},
render
:
function
()
{
var
renderedTemplate
=
_
.
template
(
$
(
this
.
templateId
).
html
())(
{
courseKey
:
this
.
courseKey
,
platformName
:
this
.
platformName
}
HtmlUtils
.
setHtml
(
this
.
el
,
HtmlUtils
.
template
(
$
(
this
.
templateId
).
html
())(
{
courseKey
:
this
.
courseKey
,
platformName
:
this
.
platformName
}
)
);
$
(
this
.
el
).
html
(
renderedTemplate
);
// Render the webcam view *after* the parent view
// so that the container div for the webcam
...
...
@@ -100,4 +102,4 @@
.
attr
(
'aria-disabled'
,
!
isEnabled
);
}
});
})(
jQuery
,
_
,
_
.
str
,
Backbone
,
gettext
);
})(
jQuery
,
_
,
_
.
str
,
Backbone
,
gettext
,
edx
.
HtmlUtils
);
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