Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Fix error on file removal #687

Merged
merged 2 commits into from
Jan 7, 2025
Merged

[3.x] Fix error on file removal #687

merged 2 commits into from
Jan 7, 2025

Conversation

Jade-GG
Copy link
Collaborator

@Jade-GG Jade-GG commented Dec 30, 2024

On Chrome and Chromium based browsers, you can remove a selected file in a file input by clicking cancel on the dialog. Because of this, you can select a file and then deselect it. This causes an error in this code because it assumes you always have a file.

@royduin royduin merged commit 0ad6ef5 into master Jan 7, 2025
12 checks passed
@royduin royduin deleted the Jade-GG-patch-4 branch January 7, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants