Closed bryanlandia closed 1 year ago
https://github.com/overhangio/openedx-scorm-xblock/blob/master/openedxscorm/static/js/src/scormxblock.js#L164-L173
The logical test uses in as in Python, but for JS this needs to be uncachedValues.includes(cmi_element).
in
uncachedValues.includes(cmi_element)
Actually this same JS problem affects processSetValueQueueItems as well.
processSetValueQueueItems
https://github.com/overhangio/openedx-scorm-xblock/blob/master/openedxscorm/static/js/src/scormxblock.js#L164-L173
The logical test uses
in
as in Python, but for JS this needs to beuncachedValues.includes(cmi_element)
.