mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
b192dd9303
commit
1153c3ffd1
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
|||
$dropzone.trigger("uploadfailure", [data.result]);
|
||||
$dropzone.find('.js-upload-progress-bar').addClass('fail');
|
||||
if (data.jqXHR.status === 413) {
|
||||
$dropzone.find('div.js-fail').text("The image you uploaded was too big.");
|
||||
$dropzone.find('div.js-fail').text("The image you uploaded was larger than the maximum file size your server allows.");
|
||||
} else if (data.jqXHR.status === 415) {
|
||||
$dropzone.find('div.js-fail').text("The image type you uploaded is not supported. Please use .PNG, .JPG, .GIF, .SVG.");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue