[Koha-bugs] [Bug 27594] Add access to public download link for publicly-accessible uploads

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 4 17:50:07 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27594

--- Comment #29 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
> It does remove the tooltip, not only when the copy is not possible, but always.

It adds the tooltip when window.isSecureContext true
In my last patch I removed the tooltip in the HTML which said "Copy link to
this file" thus saying it even if the window.isSecureContext false. So no
tooltip in this case.
Should we have a tooltip for when the copy isn't possible?


> I was expecting to see some JS code to check navigator.clipboard and add the link if defined.

The link is always there. But disabled when window.isSecureContext true. To
instead call the clipboard code.


I double checked with:
git diff upstream/master..HEAD
when bug applied to see the overall diff.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list