We're updating the issue view to help you get more done. 

IV require full score JS error

Description

Steps to reproduce:
1) Create IV
2) Add a true/false interaction as poster
3) Set time, message and label for adaptivity on all correct and adaptivity on wrong
4) Check "require full score ..."
5) Save interaction
6) Save IV
7) Enter view
8) Click the dot of the true/false interaction
9) Answer interaction correctly
10) Press continue button
11) Click anywhere on the seekbar
12) Observe JS error every time you click seekbar:

h5p-interactive-video.js?ver=1.18.0:1 Uncaught TypeError: Cannot read property 'focus' of undefined
at n.trapFocusInInteractions (h5p-interactive-video.js?ver=1.18.0:1)
at HTMLDivElement.<anonymous> (h5p-interactive-video.js?ver=1.18.0:1)
at HTMLDivElement.dispatch (jquery.js?ou215b:2)
at HTMLDivElement.v.handle (jquery.js?ou215b:2)
at Object.trigger (jquery.js?ou215b:2)
at Object.simulate (jquery.js?ou215b:2)
at HTMLDocument.r (jquery.js?ou215b:3)
at HTMLDivElement.trigger (jquery.js?ou215b:2)
at Object.trigger (jquery.js?ou215b:2)
at HTMLDivElement.<anonymous> (jquery.js?ou215b:3)

Environment

None

Acceptance Criteria

1) Adaptivity with require full score must work properly
2) No JS error should be observed with this combination of options

Status

Assignee

Pål Jørgensen

Reporter

Thomas Marstrander

Labels

Funding

None

Code reviewer

Thomas Marstrander

Released

Released

Fix versions

Affects versions

Var 2

Priority

Medium