Skip to content

Commit b44a9a4

Browse files
authored
Update jquery.fileupload.js
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.
1 parent 1363486 commit b44a9a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/jquery.fileupload.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1298,8 +1298,7 @@
12981298
_getSingleFileInputFiles: function (fileInput) {
12991299
// eslint-disable-next-line no-param-reassign
13001300
fileInput = $(fileInput);
1301-
var entries =
1302-
fileInput.prop('webkitEntries') || fileInput.prop('entries'),
1301+
var entries = fileInput.prop('entries'),
13031302
files,
13041303
value;
13051304
if (entries && entries.length) {

0 commit comments

Comments
 (0)