encorelab / SCORE

Scripting and ORchestration Environment (SCORE)
Other
2 stars 0 forks source link

Open Response upload file bug fix #4

Closed hirokiterashima closed 4 years ago

hirokiterashima commented 4 years ago

This fixes the issue where student upload dialog in the Open Response component was not showing up when you clicked on the "Add File" button.

How to test:

  1. Create an open response component, and set its isStudentAttachmentEnabled flag to true in the JSON authoring mode.
    ...
    isStudentAttachmentEnabled: true,
    ...
  2. Create a run with the unit.
  3. Launch the run as a student, go to the open response component, and try to upload images. They should appear and be saved along with the text content.