Merge branch 'override-buttons' of github.com:h5p/h5p-question-set into override-buttons

d3summaryChart
Svein-Tore Griff With 2014-12-15 09:09:44 +01:00
commit 82898e6fac
1 changed files with 3 additions and 5 deletions

View File

@ -117,11 +117,9 @@ H5P.QuestionSet = function (options, contentId) {
// override content parameters.
if (params.override.overrideButtons) {
// Extend subcontent with the overrided settings.
$.extend(question.params, {
behaviour: {
enableRetry: params.override.overrideRetry,
enableSolutionsButton: params.override.overrideShowSolutionButton
}
$.extend(question.params.behaviour, {
enableRetry: params.override.overrideRetry,
enableSolutionsButton: params.override.overrideShowSolutionButton
});
}