1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-07 00:36:01 +02:00
This commit is contained in:
Andrew Nicols 2021-12-02 11:35:55 +08:00
commit 312bfce30f
6 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -248,7 +248,7 @@ export default class DynamicForm {
this.getBody(formData.toString())
.then(this.updateForm)
.then(pendingPromise.resolve)
.catch(this.onSubmitError);
.catch(exception => this.onSubmitError(exception));
}
/**
@ -371,6 +371,6 @@ export default class DynamicForm {
}
return null;
})
.catch(this.onSubmitError);
.catch(exception => this.onSubmitError(exception));
}
}

@ -385,7 +385,7 @@ export default class ModalForm {
}
return null;
})
.catch(this.onSubmitError);
.catch(exception => this.onSubmitError(exception));
}
/**