uclibs / scholar_uc_legacy

Source code for Scholar@UC up to version 3.x. Replaced by ucrate
Other
5 stars 1 forks source link

Download files instead of viewing inline #1936

Closed hortongn closed 6 years ago

hortongn commented 6 years ago

Descriptive summary

Clicking the Download button for a file sometime results in the file being downloaded (prompt to save) and sometimes results in the file being displayed in the viewer. Large PDFs have difficulty displaying in a viewer before they are fully downloaded. This can lead to the user being confused about why they are seeing blank pages in the PDF viewer.

The download button should always prompt to save. This is now the default in Hyrax 2.x. We should implement the same change for Scholar now.

Ref: https://github.com/samvera/hyrax/pull/985