You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trickle adds its models after the assessment is initialised, therefore when an assessment restores its original block models upon resetting, it can exclude a laterly configured trickle button.
Subject of the issue
Trickle adds its models after the assessment is initialised, therefore when an assessment restores its original block models upon resetting, it can exclude a laterly configured trickle button.
Trickle models are injected into blocks and articles at
adapt:start
, from adaptlearning/adapt-contrib-trickle#197https://github.com/adaptlearning/adapt-contrib-trickle/blob/82a1c23f24f6508d6ed8c0a65e23ddb11ae9d8ad/js/controller.js#L29-L40
Assessment keeps its article's original children at the model
init
processes, before trickle has added its children.adapt-contrib-assessment/js/adapt-assessmentArticleModel.js
Line 81 in e96a104
Assessment then restores its article's original children when it is reset, removing any subsequently added trickle button.
adapt-contrib-assessment/js/adapt-assessmentArticleModel.js
Line 157 in e96a104
The text was updated successfully, but these errors were encountered: