[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
Thu Feb 25 14:30:38 CET 2021


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

--- Comment #8 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 117310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117310&action=edit
Bug 27594: (QA follow-up): Use clipboard API

While the Clipboard API doesn't
have 100% coverage (https://www.caniuse.com/?search=clipboard), it has
enough coverage for the "copy" operation that it can be counted on for
use in the staff interface.

This patch removes the global copyToClipboard function and replaces it
with a call to ndavigator.clipboard.writeText() in the template.

To test, follow the previous test plan and confirm that the public
download link is still copied correctly to the clipboard.

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


More information about the Koha-bugs mailing list