Use forms for staff/evaluations/textanswers_*
instead of Ajax
#1698
Labels
[C] Backend
Focuses on backend implementation
[P] Nice to have
Lowest priority. Some people might use this feature but it won't have a big impact.
[S] Easy
This issue is self-contained and does not touch too many parts. Good choice for beginners.
[T] Refactoring
Existing parts should become faster, more readable, or in any other way better.
The textanswer review sites have forms, that are actually sent with ajax instead of html form sends, because we don't want to reload the site. We could remove the javascript code and instead have the server (view:
evaluation_textanswers_update_publish
) return HTTP 204. PR #1689 introduces another response with a url to navigate to, this could then be refactored to be a normal redirect instead.The text was updated successfully, but these errors were encountered: