mirror of
https://github.com/discourse/discourse.git
synced 2025-09-12 21:10:47 +08:00
FIX: Upload fails silently if it is bigger than max allowed size
This commit is contained in:
parent
03b3e57a44
commit
0a95d2a21f
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ export function displayErrorForUpload(data) {
|
|||
if (data.jqXHR.responseJSON.message) {
|
||||
bootbox.alert(data.jqXHR.responseJSON.message);
|
||||
} else {
|
||||
bootbox.alert(data.jqXHR.responseJSON.join("\n"));
|
||||
bootbox.alert(data.jqXHR.responseJSON.errors.join("\n"));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue