mirror of
https://github.com/flarum/core.git
synced 2025-07-28 04:00:40 +02:00
Default submit handler for form modals
This commit is contained in:
@@ -39,6 +39,10 @@ export default class FormModal extends Component {
|
||||
app.modal.close();
|
||||
}
|
||||
|
||||
onsubmit(e) {
|
||||
//
|
||||
}
|
||||
|
||||
handleErrors(errors) {
|
||||
if (errors) {
|
||||
this.alert(new Alert({
|
||||
|
Reference in New Issue
Block a user