Skip to content

Commit

Permalink
Fix ajax request headers, must accept json now
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-lenz committed Jan 27, 2020
1 parent 9d38a9b commit 1d8921c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Release Notes for Chunked File Uploads

## 1.0.1 - 2020-01-27
- Fix ajax request headers, must accept json now.

## 1.0.0 - 2019-05-25
- Initial release.
3 changes: 2 additions & 1 deletion src/assets/resources/fileupload.patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Craft.Uploader = (function(uploader) {
this.uploader.fileupload('option', 'maxChunkSize', settings.chunkSize * toBytes);
}
},
}, {
defaults: Craft.Uploader.defaults
});

})(Craft.Uploader);

0 comments on commit 1d8921c

Please sign in to comment.