]> source.dussan.org Git - nextcloud-server.git/commit
Fix download link included in public share page with hidden download 16125/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 27 Jun 2019 10:14:27 +0000 (12:14 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Thu, 27 Jun 2019 14:29:45 +0000 (14:29 +0000)
commit88139907ddfe4861816e71109cba4c7e8a7521f9
tree4d45097ed045eaecc8d2d040120ebbadf89f7fbd
parent66dc4c9c725000d3890f7cd0b65973fbe31fd312
Fix download link included in public share page with hidden download

The preview element in the public share page was always wrapped with a
link to download the file; now that link is included only if the "Hide
download" option of the share is not enabled.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
apps/files_sharing/js/public.js