mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 12:00:45 +08:00
Remove call to undefined method handleErrors (#94)
This commit is contained in:
parent
6b83c71e33
commit
75db6b4878
|
@ -122,12 +122,11 @@ export default class EditTagModal extends Modal {
|
|||
|
||||
this.loading = true;
|
||||
|
||||
// Errors aren't passed to the modal onerror handler here.
|
||||
// This is done for better error visibility on smaller screen heights.
|
||||
this.tag.save(this.submitData()).then(
|
||||
() => this.hide(),
|
||||
response => {
|
||||
this.loading = false;
|
||||
this.handleErrors(response);
|
||||
}
|
||||
() => this.loading = false
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user