Merge branch 'release'
commit
e583329962
|
@ -772,7 +772,6 @@ H5P.QuestionSet = function (options, contentId, contentData) {
|
||||||
scoreBar = H5P.JoubelUI.createScoreBar(totals);
|
scoreBar = H5P.JoubelUI.createScoreBar(totals);
|
||||||
}
|
}
|
||||||
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
||||||
scoreBar.setScore(finals);
|
|
||||||
$('.feedback-text', $myDom).html(scoreString);
|
$('.feedback-text', $myDom).html(scoreString);
|
||||||
|
|
||||||
// Announce that the question set is complete
|
// Announce that the question set is complete
|
||||||
|
@ -783,6 +782,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
|
||||||
eparams.comment + '.' +
|
eparams.comment + '.' +
|
||||||
eparams.resulttext)
|
eparams.resulttext)
|
||||||
.show().focus();
|
.show().focus();
|
||||||
|
scoreBar.setScore(finals);
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -287,6 +287,7 @@
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"label": "Overall Feedback",
|
"label": "Overall Feedback",
|
||||||
"importance": "low",
|
"importance": "low",
|
||||||
|
"expanded": true,
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "overallFeedback",
|
"name": "overallFeedback",
|
||||||
|
@ -299,7 +300,7 @@
|
||||||
],
|
],
|
||||||
"importance": "high",
|
"importance": "high",
|
||||||
"label": "Define custom feedback for any score range",
|
"label": "Define custom feedback for any score range",
|
||||||
"description": "Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!",
|
"description": "Click the \"Add range\" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!",
|
||||||
"entity": "range",
|
"entity": "range",
|
||||||
"min": 1,
|
"min": 1,
|
||||||
"defaultNum": 1,
|
"defaultNum": 1,
|
||||||
|
|
Loading…
Reference in New Issue