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

Downloads - firefox #9

Open
msmicker opened this issue Mar 2, 2019 · 1 comment
Open

Downloads - firefox #9

msmicker opened this issue Mar 2, 2019 · 1 comment

Comments

@msmicker
Copy link

msmicker commented Mar 2, 2019

It appears Spring is generally compatible with Firefox, but we noticed download options are not functioning in Firefox. I was able to resolve by a small update to the downloadFile function. It is a one line change suggested from this link:
https://support.mozilla.org/en-US/questions/968992

Apparently the hidden link being created needs to be attached to the DOM but not in Chrome.

Before this line -

hiddenElement.click();

I added this to attach to DOM:
document.body.appendChild(hiddenElement)

@calebweinreb
Copy link
Collaborator

calebweinreb commented Mar 6, 2019 via email

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

No branches or pull requests

2 participants