From 1153c3ffd169173b2152b26cf97ccf2dc94b0b7d Mon Sep 17 00:00:00 2001 From: Jarrod Mosen Date: Fri, 2 May 2014 08:35:49 +1200 Subject: [PATCH] Improving uploader "too big" error to help with debug #994 --- core/client/assets/lib/uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/assets/lib/uploader.js b/core/client/assets/lib/uploader.js index f25b3bcc8b..99e5acf68d 100644 --- a/core/client/assets/lib/uploader.js +++ b/core/client/assets/lib/uploader.js @@ -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 {