Done
Details
Assignee
Andreas NergaardAndreas Nergaard(Deactivated)Reporter
Svein-Tore Griff WithSvein-Tore Griff WithCode reviewer
Pål JørgensenPål JørgensenOriginal estimate
Time tracking
22h loggedSprint
NoneFix versions
Priority
High
Details
Details
Assignee
Andreas Nergaard
Andreas Nergaard(Deactivated)Reporter
Svein-Tore Griff With
Svein-Tore Griff WithCode reviewer
Pål Jørgensen
Pål JørgensenOriginal estimate
Time tracking
Sprint
None
Fix versions
Priority
Created September 28, 2016 at 7:53 AM
Updated November 23, 2017 at 1:11 PM
Resolved November 3, 2017 at 9:20 AM
H5P.MultiChoice,
H5P.DragQuestion,
H5P.Blanks,
H5P.MarkTheWords,
H5P.DragText,
H5P.TrueFalse:
Add a new field in semantics in the behavior group. Name it enableCheckButton. Default on. Widget: "none", so that it is not shown in editor. We only want this feature through QS, not for standalone question types.
In constructor: give it a default value to true.
Add logic to not show button if enableCheck === false
Update translation files
H5P.QuestionSet
Add a new field in semantics in the override group. Name it checkButton, and make it into a boolean field. Default value is true.
See how showSolutionButton and retryButton are used, and add support for checkButton. Since this will be a boolean field, it shall always be set.
If checkbutton is off, remove settings for retry/showsolution in editor using the showWhen widget
Update translation files
No need for content upgrade
Remember that in QS you have the show solution and retry button on the last slide. You need to test these scenarios to be sure the check button doesn't show when in solution mode.