Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crowdsourcehinter
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
OpenEdx
crowdsourcehinter
Commits
4287fa6a
Commit
4287fa6a
authored
Oct 26, 2015
by
solashirai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo
parent
38620f47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crowdsourcehinter/static/js/src/crowdsourcehinter.js
+2
-2
No files found.
crowdsourcehinter/static/js/src/crowdsourcehinter.js
View file @
4287fa6a
...
...
@@ -119,7 +119,7 @@ function CrowdsourceHinter(runtime, element, data){
* @param student_answer is the first incorrect answer submitted by the student
*/
function
showStudentHintRatingUX
(
hint
,
student_answer
){
var
hintRatingUXTemplate
=
$
(
Mustache
.
render
(
$
(
'#show_hint_rating_ux'
).
html
(),
{
hintIdentifer
:
encodeURI
(
hint
),
hintText
:
hint
}));
var
hintRatingUXTemplate
=
$
(
Mustache
.
render
(
$
(
'#show_hint_rating_ux'
).
html
(),
{
hintIdentif
i
er
:
encodeURI
(
hint
),
hintText
:
hint
}));
$
(
'.csh_answer_text'
,
element
).
append
(
hintRatingUXTemplate
);
var
hintCreationTemplate
=
$
(
Mustache
.
render
(
$
(
'#add_hint_creation'
).
html
(),
{}));
$
(
'.csh_answer_text'
,
element
).
append
(
hintCreationTemplate
);
...
...
@@ -134,7 +134,7 @@ function CrowdsourceHinter(runtime, element, data){
* @param reportedHint is the reported hint text
*/
function
showReportedModeration
(
reportedHint
){
var
reportedModerationTemplate
=
$
(
Mustache
.
render
(
$
(
'#show_reported_moderation'
).
html
(),
{
reportedHintIdentifer
:
encodeURI
(
reportedHint
),
reportedHintText
:
reportedHint
}));
var
reportedModerationTemplate
=
$
(
Mustache
.
render
(
$
(
'#show_reported_moderation'
).
html
(),
{
reportedHintIdentif
i
er
:
encodeURI
(
reportedHint
),
reportedHintText
:
reportedHint
}));
$
(
'.csh_reported_hints'
,
element
).
append
(
reportedModerationTemplate
);
}
...
...
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