We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5523a6 commit 97c6617Copy full SHA for 97c6617
fileupload/static/js/jquery.fileupload.js
@@ -805,6 +805,9 @@
805
response.jqXHR = options.jqXHR = jqXHR;
806
response.textStatus = options.textStatus = textStatus;
807
response.errorThrown = options.errorThrown = errorThrown;
808
+ if ('file' in response.jqXHR.responseJSON) {
809
+ response.errorThrown = options.errorThrown = response.jqXHR.responseJSON.file.join(", ");
810
+ }
811
this._trigger('fail', null, options);
812
},
813
0 commit comments