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

Unable to upload media files other than images #2172

Closed
dallaslu opened this issue Aug 17, 2021 · 1 comment
Closed

Unable to upload media files other than images #2172

dallaslu opened this issue Aug 17, 2021 · 1 comment
Assignees
Labels

Comments

@dallaslu
Copy link

done(translations.PLUGIN_ADMIN.FILE_ERROR_UPLOAD);

const image = new Image();
image.src = event.target.result;
image.onerror = function() {
    done(translations.PLUGIN_ADMIN.FILE_ERROR_UPLOAD);
};

Always run to the line done(translations.PLUGIN_ADMIN.FILE_ERROR_UPLOAD);.

dallaslu added a commit to dallaslu/grav-plugin-admin that referenced this issue Aug 17, 2021
@mahagr mahagr added the bug label Aug 18, 2021
@w00fz w00fz closed this as completed in 152b384 Feb 4, 2022
@w00fz
Copy link
Member

w00fz commented Feb 4, 2022

For the longest time I thought this was a non-issue because you never specified specifically it was only happening with the admin resolution setting enabled, and so I was never able to reproduce it!

I came across this issue by accident and then connected the dots. This is now resolved, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants