Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
problem-builder
Commits
ca4a1e7d
Commit
ca4a1e7d
authored
Apr 03, 2014
by
Alan Boudreault
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mcq-tip-popup' into answer-min-characters
parents
538e864e
d46601e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
mentoring/public/js/questionnaire.js
+1
-2
No files found.
mentoring/public/js/questionnaire.js
View file @
ca4a1e7d
// TODO: Split in two files
// TODO: Split in two files
var
mrqAttemptsTemplate
=
_
.
template
(
$
(
'#xblock-mrq-attempts'
).
html
());
function
MessageView
(
element
)
{
function
MessageView
(
element
)
{
return
{
return
{
messageDOM
:
$
(
'.choice-message'
,
element
),
messageDOM
:
$
(
'.choice-message'
,
element
),
...
@@ -93,6 +91,7 @@ function MCQBlock(runtime, element) {
...
@@ -93,6 +91,7 @@ function MCQBlock(runtime, element) {
}
}
function
MRQBlock
(
runtime
,
element
)
{
function
MRQBlock
(
runtime
,
element
)
{
var
mrqAttemptsTemplate
=
_
.
template
(
$
(
'#xblock-mrq-attempts'
).
html
());
return
{
return
{
renderAttempts
:
function
()
{
renderAttempts
:
function
()
{
var
data
=
$
(
'.mrq-attempts'
,
element
).
data
();
var
data
=
$
(
'.mrq-attempts'
,
element
).
data
();
...
...
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