Merge branch 'release'

pull/13/merge
Paal Joergensen 2017-08-07 14:36:56 +02:00
commit e583329962
2 changed files with 3 additions and 2 deletions

View File

@ -772,7 +772,6 @@ H5P.QuestionSet = function (options, contentId, contentData) {
scoreBar = H5P.JoubelUI.createScoreBar(totals);
}
scoreBar.appendTo($('.feedback-scorebar', $myDom));
scoreBar.setScore(finals);
$('.feedback-text', $myDom).html(scoreString);
// Announce that the question set is complete
@ -783,6 +782,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
eparams.comment + '.' +
eparams.resulttext)
.show().focus();
scoreBar.setScore(finals);
}, 0);
}
else {

View File

@ -287,6 +287,7 @@
"type": "group",
"label": "Overall Feedback",
"importance": "low",
"expanded": true,
"fields": [
{
"name": "overallFeedback",
@ -299,7 +300,7 @@
],
"importance": "high",
"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",
"min": 1,
"defaultNum": 1,