Navigation Menu

Skip to content

Commit

Permalink
fix issue with the Promise returned by addFile not correctly being re…
Browse files Browse the repository at this point in the history
…jected
  • Loading branch information
rikschennink committed Jun 27, 2019
1 parent 2265f68 commit 9fdb4b9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/filepond.css
@@ -1,5 +1,5 @@
/*!
* FilePond 4.4.9
* FilePond 4.4.10
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down
3 changes: 2 additions & 1 deletion dist/filepond.esm.js
@@ -1,5 +1,5 @@
/*!
* FilePond 4.4.9
* FilePond 4.4.10
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down Expand Up @@ -4018,6 +4018,7 @@ const actions = (dispatch, query, state) => ({
error: error.status,
status: error.status
});
failure({ error: error.status, file: createItemAPI(item) });
});

item.on('load-abort', () => {
Expand Down
4 changes: 2 additions & 2 deletions dist/filepond.esm.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/filepond.js
@@ -1,5 +1,5 @@
/*!
* FilePond 4.4.9
* FilePond 4.4.10
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down Expand Up @@ -4703,6 +4703,8 @@
error: error.status,
status: error.status
});

failure({ error: error.status, file: createItemAPI(item) });
});

item.on('load-abort', function() {
Expand Down
2 changes: 1 addition & 1 deletion dist/filepond.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/filepond.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "filepond",
"version": "4.4.9",
"version": "4.4.10",
"description": "FilePond, Where files go to stretch their bits.",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 9fdb4b9

Please sign in to comment.