You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When sharing a PDF via a public share link, it will not automatically open if the download button is set to be hidden. When this option is unchecked (download button will be shown), the PDF is displayed just fine, however.
To Reproduce
Steps to reproduce the behavior:
Go to any PDF on your instance
Create a public share with "hide download" checked
Open the public share
The PDF will not be displayed
Expected behavior
The PDF will be displayed regardless, because there is no point in not showing it and also not being able to download it.
Details
The issue began on stable27 after I introduced #3600. Also, files.js seems to be legacy code and not needed, which I think caused the issue, since it was being loaded in addition to the public-share-handling public.js I introduced
The text was updated successfully, but these errors were encountered:
Describe the bug
When sharing a PDF via a public share link, it will not automatically open if the download button is set to be hidden. When this option is unchecked (download button will be shown), the PDF is displayed just fine, however.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The PDF will be displayed regardless, because there is no point in not showing it and also not being able to download it.
Details
The issue began on stable27 after I introduced #3600. Also,
files.js
seems to be legacy code and not needed, which I think caused the issue, since it was being loaded in addition to the public-share-handlingpublic.js
I introducedThe text was updated successfully, but these errors were encountered: