Closed ihalaij1 closed 9 months ago
What?
Previously, the cancel button always sent the user to the deadline deviation list page. Now, it sends the user to the page where they came from, if possible.
Why?
This was requested by a teacher.
Fixes #1278
What type of test did you run?
Tested that redirection works after cancelling new deadline deviation on inspect submission page and user results page.
Did you test the changes in
Clean up your git commit history before submitting the pull request!
Description
What?
Previously, the cancel button always sent the user to the deadline deviation list page. Now, it sends the user to the page where they came from, if possible.
Why?
This was requested by a teacher.
Fixes #1278
What type of test did you run?
Tested that redirection works after cancelling new deadline deviation on inspect submission page and user results page.
Did you test the changes in
Translation
Programming style
Have you updated the README or other relevant documentation?
Is it Done?
Clean up your git commit history before submitting the pull request!