Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
s3fs_cors
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
s3fs_cors
Merge requests
!33
Issue
#3512533
: Clear fileInput to avoid large file upload failure.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3512533
: Clear fileInput to avoid large file upload failure.
issue/s3fs_cors-3512533:3512533-large-file-upload
into
8.x-1.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Jordan Barnes
requested to merge
issue/s3fs_cors-3512533:3512533-large-file-upload
into
8.x-1.x
1 month ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#3512533
0
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (HEAD)
and
latest version
latest version
15ad992f
1 commit,
1 month ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
s3fs_cors.js
+
3
−
0
Options
@@ -420,6 +420,9 @@
fidInput
.
value
=
fids
.
join
(
'
'
);
const
numberFileIds
=
fids
.
length
;
// Clear file input so FormData won't include the file in the request.
fileInput
.
value
=
''
;
// Post the results to Drupal if all files have been processed.
const
formData
=
new
FormData
(
form
);
const
button
=
form
.
querySelector
(
`.js-form-submit[name^=
${
fieldName
}
]`
);
Loading