Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmonize getAnswerGiven with other content types #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Jul 4, 2019

The function getAnswerGiven should report true if an answer has been given.
Other content types return true if either an answer has been given explicitly
or nothing has been answered explicity, but "check" has been clicked.

True-False did not do the latter. In Course Presentation, this led to inconsistent behavior in the navigation bar. Other content types would report true when clicking on the check button even without giving an answer and the dot on the slide's navigation bar would be filled. It would not be filled for TrueFalse however if no answer was chosen before clicking on the check button.

otacke added 2 commits July 4, 2019 18:21
The function getAnswerGiven should report true if an answer has been given.
Other content types return true if either an answer has been given explicitly
or nothing has been answered explicity, but "check" has been clicked.
True-False did not do the latter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant