From 22cbf64e758118aee6ca036848f240e7452b8f3b Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 7 Aug 2012 09:13:13 -0500 Subject: [PATCH] pass errors in the http response to error handler If there are specific validation errors on the image (file size, dimensions, etc...) then you need to be able to report those to the user. --- src/javascript/plupload.html5.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/javascript/plupload.html5.js b/src/javascript/plupload.html5.js index a3273069a..33a2b9dcf 100644 --- a/src/javascript/plupload.html5.js +++ b/src/javascript/plupload.html5.js @@ -556,7 +556,8 @@ code : plupload.HTTP_ERROR, message : plupload.translate('HTTP Error.'), file : file, - status : httpStatus + status : httpStatus, + response: xhr.responseText }); } else { // Handle chunk response