mod/quiz/amd/src/question_slot.js seems like a very odd coding style. We have some JS which makes a web service call, and then reloads the entire page. Why? Why not either do proper AJAX, and update the page without a full reload; or just make changing the version submit a POST request, which returns the reloaded page?
mod/quiz/amd/src/question_slot.js seems like a very odd coding style. We have some JS which makes a web service call, and then reloads the entire page. Why? Why not either do proper AJAX, and update the page without a full reload; or just make changing the version submit a POST request, which returns the reloaded page?