FIX: Upload fails silently if it is bigger than max allowed size

This commit is contained in:
Vinoth Kannan 2018-02-13 14:39:25 +05:30
parent 03b3e57a44
commit 0a95d2a21f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}