mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-78478 forms: Fix repeated elements in dynamic forms
This commit is contained in:
parent
71c36d2de1
commit
f80adab439
3 changed files with 3 additions and 3 deletions
2
lib/form/amd/build/dynamicform.min.js
vendored
2
lib/form/amd/build/dynamicform.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -247,7 +247,7 @@ export default class DynamicForm {
|
||||||
this.disableButtons();
|
this.disableButtons();
|
||||||
|
|
||||||
this.getBody(formData.toString())
|
this.getBody(formData.toString())
|
||||||
.then(this.updateForm)
|
.then(resp => this.updateForm(resp))
|
||||||
.then(pendingPromise.resolve)
|
.then(pendingPromise.resolve)
|
||||||
.catch(exception => this.onSubmitError(exception));
|
.catch(exception => this.onSubmitError(exception));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue