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

--- Comment #29 from Victor Grousset/tuxayo <vic...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to