Semantics description for overrideRetry changed.

d3summaryChart
Thomas Marstrander 2014-11-28 15:39:19 +01:00
parent 587c593474
commit 4897db48fd
2 changed files with 7 additions and 7 deletions

View File

@ -95,7 +95,7 @@ H5P.QuestionSet = function (options, contentId) {
override: {
overrideButtons: false,
overrideShowSolutionButton: false,
overrideRetryButton: false
overrideRetry: false
},
postUserStatistics: (H5P.postUserStatistics === true)
};
@ -120,7 +120,7 @@ H5P.QuestionSet = function (options, contentId) {
if (params.override.overrideButtons) {
// Extend subcontent with the overrided settings.
$.extend(question.params, {
enableRetry: params.override.overrideRetryButton,
enableRetry: params.override.overrideRetry,
enableSolutionsButton: params.override.overrideShowSolutionButton
});
}

View File

@ -289,8 +289,8 @@
{
"name": "override",
"type": "group",
"label": "Settings for \"Show solution\" and \"Retry\" buttons",
"description": "These options will let you override when to display \"Show solution\" and \"Retry\" buttons in integrated h5p content.",
"label": "Settings for \"Show solution\" button and \"Retry\".",
"description": "These options will let you override when to display \"Show solution\" button and \"Retry\" in integrated h5p content.",
"optional": true,
"fields": [
{
@ -308,10 +308,10 @@
"default": false
},
{
"name": "overrideRetryButton",
"name": "overrideRetry",
"type": "boolean",
"label": "Enable \"Retry\" buttons.",
"description": "Enabling this option will make questions show the \"Retry\" button.",
"label": "Enable \"Retry\".",
"description": "Enabling this option will make the user able to \"Retry\" .",
"default": false
}
]