]> source.dussan.org Git - nextcloud-server.git/commit
Fix download link included in public share page with hidden download 16126/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:30:28 +0000 (14:30 +0000)
commit8133ca056cc99149ebcc40757080a2f22d608382
tree623b59b5a1bec859b28e4b8f5d2728b67dd4d7ce
parentac486b003b87334320c9efc2df0509213dd19c84
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