mirror of
https://github.com/flarum/core.git
synced 2025-08-13 20:04:24 +02:00
Remove call to undefined method handleErrors (#94)
This commit is contained in:
@@ -122,12 +122,11 @@ export default class EditTagModal extends Modal {
|
|||||||
|
|
||||||
this.loading = true;
|
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.tag.save(this.submitData()).then(
|
||||||
() => this.hide(),
|
() => this.hide(),
|
||||||
response => {
|
() => this.loading = false
|
||||||
this.loading = false;
|
|
||||||
this.handleErrors(response);
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user