mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: upload errors were sometimes not displayed properly (#10605)
This commit is contained in:
parent
e169e5a32f
commit
21adc07057
1 changed files with 1 additions and 3 deletions
|
@ -108,9 +108,7 @@ export default Mixin.create({
|
|||
});
|
||||
|
||||
$upload.on("fileuploadfail", (e, data) => {
|
||||
if (!data) {
|
||||
displayErrorForUpload(data, this.siteSettings);
|
||||
}
|
||||
reset();
|
||||
});
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue