Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Update jquery.fileupload.js
Browse files Browse the repository at this point in the history
This code creates issues with multiple file attachments with ios. only the first attachment works, subsequent attachment fails.
HTMLInputElement.webkitEntries api  for input file element, is highly inconsistent in nature. web documents suggests that webkitEntries is non-standard and experimental api and support for it has been dropped.
  • Loading branch information
rtrai committed Apr 14, 2021
1 parent 1363486 commit b44a9a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/jquery.fileupload.js
Expand Up @@ -1298,8 +1298,7 @@
_getSingleFileInputFiles: function (fileInput) {
// eslint-disable-next-line no-param-reassign
fileInput = $(fileInput);
var entries =
fileInput.prop('webkitEntries') || fileInput.prop('entries'),
var entries = fileInput.prop('entries'),
files,
value;
if (entries && entries.length) {
Expand Down

0 comments on commit b44a9a4

Please sign in to comment.