Merge branch 'MDL-74906-311' of https://github.com/snake/moodle into MOODLE_311_STABLE
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -204,7 +204,7 @@ define(
|
||||
submitAndCourse.onclick = (e) => {
|
||||
e.preventDefault();
|
||||
submitAndCourse.disabled = true;
|
||||
const fd = new FormData(document.querySelector('form.mform'));
|
||||
const fd = new FormData(document.querySelector('#region-main-box form'));
|
||||
const postVariant = (promise, variant) => {
|
||||
Object.entries(variant).forEach((entry) => fd.set(entry[0], entry[1]));
|
||||
const body = new URLSearchParams(fd);
|
||||
|
||||
Reference in New Issue
Block a user