-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix messages disappearing after first submission
There was a bug that caused exercise messages such as "Staff can submit assignments without enrolling" and "Only your last submission will be graded" to disappear forever after the student makes their first submission. This was caused by chapter.js, which replaced the entire exercise container, including the message area, when the last submission was loaded and displayed. This has been fixed and now the messages are not removed. Additionally, the "Only your last submission will be graded" message is now added in `ExerciseView.submission_check` instead of `ExerciseView.get`, so it remains visible after clicking the submit button. Fixes #881
- Loading branch information
1 parent
8a852f9
commit 4312c99
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters