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

Ensure that a text input doesn't appear after downloading checked items #2736

Merged
merged 2 commits into from Sep 12, 2018

Conversation

msmolens
Copy link
Contributor

This commit fixes a problem in the web client where a text input appears at the bottom of the page after checking items and selecting "Download checked resources".

To avoid long query strings in GET requests--in case a large number of files are checked--this download mechanism creates and submits a temporary form. For compatibility with Firefox, the form must be in the DOM for submission to work.

This commit removes the temporary form from the DOM after it's submitted.

Screenshot of the old behavior after downloading:
screenshot from 2018-06-11 11-30-57

This commit fixes a problem in the web client where a text input appears
at the bottom of the page after checking items and selecting "Download
checked resources".

To avoid long query strings in GET requests--in case a large number of
files are checked--this download mechanism creates and submits a
temporary form. For compatibility with Firefox, the form must be in the
DOM for submission to work.

This commit removes the temporary form from the DOM after it's
submitted.
@manthey manthey merged commit fcb9926 into master Sep 12, 2018
@manthey manthey deleted the fix-download-checked-leftover-input branch September 12, 2018 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants