Skip to content

Commit

Permalink
fix issue with fetch and HEAD no setting server id to hidden input …
Browse files Browse the repository at this point in the history
…element
  • Loading branch information
rikschennink committed May 27, 2021
1 parent a027d2c commit fcc88a1
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules/
coverage/
.idea
.vscode/
upload/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 4.27.2

- Fix issue with fetch and `HEAD` no setting server id to hidden input element.

## 4.27.1

- Fix issue with `allowMinimumUploadDuration` set to `false` throwing error.
Expand Down
2 changes: 1 addition & 1 deletion dist/filepond.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* FilePond 4.27.1
* FilePond 4.27.2
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down
5 changes: 3 additions & 2 deletions dist/filepond.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* FilePond 4.27.1
* FilePond 4.27.2
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down Expand Up @@ -4601,9 +4601,10 @@ const actions = (dispatch, query, state) => ({
error: null,
serverFileReference: source,
});

dispatch('DID_DEFINE_VALUE', {
id: item.id,
value: source,
value: item.serverId || source,
});
return;
}
Expand Down
4 changes: 2 additions & 2 deletions dist/filepond.esm.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/filepond.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* FilePond 4.27.1
* FilePond 4.27.2
* Licensed under MIT, https://opensource.org/licenses/MIT/
* Please visit https://pqina.nl/filepond/ for details.
*/
Expand Down Expand Up @@ -6952,7 +6952,7 @@

dispatch('DID_DEFINE_VALUE', {
id: item.id,
value: source,
value: item.serverId || source,
});

return;
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filepond",
"version": "4.27.1",
"version": "4.27.2",
"description": "FilePond, Where files go to stretch their bits.",
"license": "MIT",
"author": {
Expand Down
3 changes: 2 additions & 1 deletion src/js/app/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,10 @@ export const actions = (dispatch, query, state) => ({
error: null,
serverFileReference: source,
});

dispatch('DID_DEFINE_VALUE', {
id: item.id,
value: source,
value: item.serverId || source,
});
return;
}
Expand Down

0 comments on commit fcc88a1

Please sign in to comment.